2011-12-06 17:29:22 +01:00
|
|
|
[Unit]
|
|
|
|
Description=Start the rsync server daemon
|
|
|
|
After=network.target
|
2017-06-14 21:46:07 +02:00
|
|
|
ConditionPathExists=/etc/rsyncd.conf
|
2011-12-06 17:29:22 +01:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
ExecStart=/usr/sbin/rsyncd --daemon --no-detach
|
|
|
|
IOSchedulingClass=idle
|
|
|
|
CPUSchedulingPolicy=batch
|
2012-07-27 18:46:06 +02:00
|
|
|
PrivateTmp=true
|
2021-11-21 12:09:01 +01:00
|
|
|
# added automatically, for details please see
|
|
|
|
# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
|
|
|
ProtectHostname=true
|
|
|
|
ProtectKernelTunables=true
|
|
|
|
ProtectKernelModules=true
|
|
|
|
ProtectKernelLogs=true
|
|
|
|
ProtectControlGroups=true
|
|
|
|
RestrictRealtime=true
|
|
|
|
# end of automatic additions
|
2012-07-27 18:46:06 +02:00
|
|
|
|
2011-12-06 17:29:22 +01:00
|
|
|
[Install]
|
2017-06-14 21:46:07 +02:00
|
|
|
WantedBy=multi-user.target
|