Eigenes Profil erstellen SELinux: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(Die Seite wurde neu angelegt: „=Links= *https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/using_selinux/writing-a-custom-selinux-policy_using-selinux“) |
|||
| Zeile 1: | Zeile 1: | ||
| + | |||
| + | |||
| + | =System Dienst= | ||
| + | *cat /etc/systemd/system/mydaemon.service | ||
| + | <pre> | ||
| + | vi mydaemon.service | ||
| + | [Unit] | ||
| + | Description=Simple testing daemon | ||
| + | |||
| + | [Service] | ||
| + | Type=simple | ||
| + | ExecStart=/usr/local/bin/mydaemon | ||
| + | |||
| + | [Install] | ||
| + | WantedBy=multi-user.target | ||
| + | </pre> | ||
| + | |||
| + | |||
=Links= | =Links= | ||
*https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/using_selinux/writing-a-custom-selinux-policy_using-selinux | *https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/using_selinux/writing-a-custom-selinux-policy_using-selinux | ||
Version vom 22. November 2022, 14:05 Uhr
System Dienst
- cat /etc/systemd/system/mydaemon.service
vi mydaemon.service [Unit] Description=Simple testing daemon [Service] Type=simple ExecStart=/usr/local/bin/mydaemon [Install] WantedBy=multi-user.target