rsyncd tp systemd

This commit is contained in:
midoks
2022-06-19 10:20:52 +08:00
parent b42c0d983e
commit 6f6350b1a2
3 changed files with 55 additions and 46 deletions
+9
View File
@@ -0,0 +1,9 @@
[Unit]
Description=fast remote file copy program daemon
ConditionPathExists={$SERVER_PATH}/rsyncd/rsyncd.conf
[Service]
ExecStart={$RSYNC_BIN} --daemon --no-detach
[Install]
WantedBy=multi-user.target