added systemd service
[bak-git.git] / bak-git.service
diff --git a/bak-git.service b/bak-git.service
new file mode 100644 (file)
index 0000000..8174330
--- /dev/null
@@ -0,0 +1,11 @@
+[Unit]
+Description=bak-git
+After=network-online.target
+
+[Service]
+User=dpavlin
+ExecStart=/home/dpavlin/klin/bak-git/klin.sh 
+Restart=on-failure
+
+[Install]
+WantedBy=multi-user.target