summarylogtreecommitdiffstats
path: root/gogs.service
diff options
context:
space:
mode:
authorThomas Fanninger2015-06-08 20:01:07 +0200
committerThomas Fanninger2015-06-08 20:01:07 +0200
commit6a81e0df0343274fb44fef028c3469a94a5a37a3 (patch)
tree89c8eabfa16bf3c29f2ad0c5a01c822030c867b7 /gogs.service
downloadaur-6a81e0df0343274fb44fef028c3469a94a5a37a3.tar.gz
Migration
Diffstat (limited to 'gogs.service')
-rw-r--r--gogs.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/gogs.service b/gogs.service
new file mode 100644
index 000000000000..2b4aaec4b17c
--- /dev/null
+++ b/gogs.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=Gogs (Go Git Service) server
+After=syslog.target
+After=network.target
+
+[Service]
+Type=simple
+User=gogs
+Group=gogs
+ExecStart=/usr/share/gogs/start.sh
+WorkingDirectory=/usr/share/gogs/
+
+[Install]
+WantedBy=multi-user.target