2014-07-21 13:48:59 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Tiny HTTP Daemon
|
|
|
|
|
|
|
|
[Service]
|
2022-05-31 16:27:18 +00:00
|
|
|
# added automatically, for details please see
|
|
|
|
# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
|
|
|
ProtectSystem=full
|
|
|
|
ProtectHome=true
|
|
|
|
PrivateDevices=true
|
|
|
|
ProtectHostname=true
|
|
|
|
ProtectClock=true
|
|
|
|
ProtectKernelTunables=true
|
|
|
|
ProtectKernelModules=true
|
|
|
|
ProtectKernelLogs=true
|
|
|
|
ProtectControlGroups=true
|
|
|
|
RestrictRealtime=true
|
|
|
|
# end of automatic additions
|
2014-07-21 13:48:59 +00:00
|
|
|
PIDFile=/run/thttpd.pid
|
2014-11-25 10:51:38 +00:00
|
|
|
ExecStart=/usr/sbin/thttpd -D -C /etc/thttpd.conf
|
2014-07-21 13:48:59 +00:00
|
|
|
Restart=always
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|