From: Stefan Huber Date: Thu, 11 Jun 2020 18:20:10 +0000 (+0200) Subject: nextcloud: Add systemd unit file X-Git-Url: https://git.sthu.org/?a=commitdiff_plain;h=0a3650b377bc7cd6dc5852866af94e912a280dd3;p=shutils.git nextcloud: Add systemd unit file --- diff --git a/nextcloud/nextcloud-vimwiki-sync.service b/nextcloud/nextcloud-vimwiki-sync.service new file mode 100644 index 0000000..8233141 --- /dev/null +++ b/nextcloud/nextcloud-vimwiki-sync.service @@ -0,0 +1,12 @@ +[Unit] +Description=Nextcloud vimwiki synchronization service +Wants=network-online.target +After=network-online.target + +[Service] +ExecStart=%h/.local/bin/nextcloud-inotify-sync %h/.vimwiki "https://cloud.example.org/remote.php/webdav/vimwiki" +Restart=always +RestartSec=10min + +[Install] +WantedBy=default.target