summaryrefslogtreecommitdiffstats
path: root/platforms/linux/initfiles/systemd/gitautodeploy.service
diff options
context:
space:
mode:
Diffstat (limited to 'platforms/linux/initfiles/systemd/gitautodeploy.service')
-rw-r--r--platforms/linux/initfiles/systemd/gitautodeploy.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/platforms/linux/initfiles/systemd/gitautodeploy.service b/platforms/linux/initfiles/systemd/gitautodeploy.service
new file mode 100644
index 0000000..71cb1c5
--- /dev/null
+++ b/platforms/linux/initfiles/systemd/gitautodeploy.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=GitAutoDeploy
+
+[Service]
+User=www-data
+Group=www-data
+WorkingDirectory=/opt/Git-Auto-Deploy/
+ExecStart=/opt/Git-Auto-Deploy/GitAutoDeploy.py
+
+[Install]
+WantedBy=multi-user.target