summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2014-02-24 10:16:35 -0800
committerWayne Davison <wayned@samba.org>2014-02-24 10:19:14 -0800
commit783611707b6fc2fa6173b5424a952986e6c76b9f (patch)
tree6c328d61904e3d4fb6b9e100393aca9031587070
parentcd909fde87b75ce7f75b9b7e8733d9133cde3ae9 (diff)
downloadrsync-783611707b6fc2fa6173b5424a952986e6c76b9f.tar.gz
Include a systemd file that some distros might want.
-rw-r--r--NEWS4
-rw-r--r--packaging/systemd/rsync.service9
2 files changed, 13 insertions, 0 deletions
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