diff options
-rw-r--r-- | swift/manifest | 1 | ||||
-rw-r--r-- | swift/usr/lib/systemd/system/rsync.service | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/swift/manifest b/swift/manifest index 171b04fc..63ea2c2c 100644 --- a/swift/manifest +++ b/swift/manifest @@ -12,3 +12,4 @@ 0100644 0 0 /usr/lib/systemd/system/swift-storage-setup.service 0100644 0 0 /usr/lib/systemd/system/swift-storage.service template 0100644 0 0 /etc/ntp.conf +overwrite 0100644 0 0 /usr/lib/systemd/system/rsync.service diff --git a/swift/usr/lib/systemd/system/rsync.service b/swift/usr/lib/systemd/system/rsync.service new file mode 100644 index 00000000..babcfb46 --- /dev/null +++ b/swift/usr/lib/systemd/system/rsync.service @@ -0,0 +1,11 @@ +[Unit] +Description=fast remote file copy program daemon +After=swift-storage-setup.service +ConditionPathExists=/etc/rsyncd.conf + +[Service] +ExecStart=/usr/bin/rsync --daemon --no-detach +Restart=on-failure + +[Install] +WantedBy=multi-user.target |