homeserver/roles/mgrote_rsync/templates/rsync_mirror.service.j2

11 lines
205 B
Text
Raw Permalink Normal View History

{{ file_header | default () }}
[Unit]
Description=Mirror data with rsync.
OnFailure=rsync_mirror_mail.service
OnSuccess=rsync_mirror_mail.service
[Service]
Type=simple
ExecStart=/usr/bin/rsync_mirror.sh