From: Wayne Davison Date: Mon, 24 Feb 2014 18:16:35 +0000 (-0800) Subject: Include a systemd file that some distros might want. X-Git-Tag: v3.1.1pre2~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=783611707b6fc2fa6173b5424a952986e6c76b9f;p=thirdparty%2Frsync.git Include a systemd file that some distros might want. --- diff --git a/NEWS b/NEWS index e1f5412d..bef1944a 100644 --- a/NEWS +++ b/NEWS @@ -61,3 +61,7 @@ Changes since 3.1.0: - Made configure more prominently mention when we failed to find yodl (in case the user wants to be able to generate manpages from *.yo files). + + DEVELOPER RELATED: + + - We now include an example systemd file (in packaging/systemd). diff --git a/packaging/systemd/rsync.service b/packaging/systemd/rsync.service new file mode 100644 index 00000000..f64d2b6b --- /dev/null +++ b/packaging/systemd/rsync.service @@ -0,0 +1,9 @@ +[Unit] +Description=fast remote file copy program daemon +ConditionPathExists=/etc/rsyncd.conf + +[Service] +ExecStart=/usr/bin/rsync --daemon --no-detach + +[Install] +WantedBy=multi-user.target