2011-12-06 16:29:22 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Start the rsync server daemon
|
|
|
|
After=network.target
|
2017-06-14 19:46:07 +00:00
|
|
|
ConditionPathExists=/etc/rsyncd.conf
|
2011-12-06 16:29:22 +00:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
ExecStart=/usr/sbin/rsyncd --daemon --no-detach
|
|
|
|
IOSchedulingClass=idle
|
|
|
|
CPUSchedulingPolicy=batch
|
2012-07-27 16:46:06 +00:00
|
|
|
PrivateTmp=true
|
2021-11-21 11:09:01 +00: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 16:46:06 +00:00
|
|
|
|
2011-12-06 16:29:22 +00:00
|
|
|
[Install]
|
2017-06-14 19:46:07 +00:00
|
|
|
WantedBy=multi-user.target
|