2015-06-04 11:35:09 +00:00
|
|
|
[Unit]
|
|
|
|
|
Description=Live Syncing (Mirror) Daemon
|
2024-03-09 14:07:06 +00:00
|
|
|
After=network.target remote-fs.target
|
2015-06-04 11:35:09 +00:00
|
|
|
|
|
|
|
|
[Service]
|
2021-10-06 14:56:09 +00:00
|
|
|
# added automatically, for details please see
|
|
|
|
|
# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
|
|
|
|
PrivateDevices=true
|
|
|
|
|
ProtectHostname=true
|
|
|
|
|
ProtectClock=true
|
|
|
|
|
ProtectKernelTunables=true
|
|
|
|
|
ProtectKernelModules=true
|
|
|
|
|
ProtectKernelLogs=true
|
|
|
|
|
ProtectControlGroups=true
|
|
|
|
|
RestrictRealtime=true
|
|
|
|
|
# end of automatic additions
|
2015-06-04 11:35:09 +00:00
|
|
|
Type=simple
|
|
|
|
|
Nice=19
|
|
|
|
|
EnvironmentFile=-/etc/sysconfig/lsyncd
|
2018-04-26 14:00:21 +00:00
|
|
|
ExecStart=/usr/bin/sh -c 'eval `/usr/bin/lsyncd -nodaemon $LSYNCD_OPTIONS /etc/lsyncd/lsyncd.conf`'
|
2015-06-04 11:35:09 +00:00
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
|
WantedBy=multi-user.target
|