replace xinetd by systemd for fedora >= 34
This commit is contained in:
parent
3f5cb87166
commit
dc576316fd
3 changed files with 54 additions and 3 deletions
13
roles/rsyncd/files/rsyncd.service
Normal file
13
roles/rsyncd/files/rsyncd.service
Normal file
|
@ -0,0 +1,13 @@
|
|||
[Unit]
|
||||
Description=fast remote file copy program daemon
|
||||
ConditionPathExists=/etc/rsyncd.conf
|
||||
Wants=network-online.target
|
||||
After=network-online.target
|
||||
|
||||
[Service]
|
||||
EnvironmentFile=/etc/sysconfig/rsyncd
|
||||
ExecStart=/usr/bin/rsync --daemon --no-detach "$OPTIONS"
|
||||
#StandardInput=socket
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Add table
Add a link
Reference in a new issue