summarylogtreecommitdiffstats
path: root/gogs_old.service
diff options
context:
space:
mode:
Diffstat (limited to 'gogs_old.service')
-rw-r--r--gogs_old.service20
1 files changed, 20 insertions, 0 deletions
diff --git a/gogs_old.service b/gogs_old.service
new file mode 100644
index 000000000000..3d375b945b9f
--- /dev/null
+++ b/gogs_old.service
@@ -0,0 +1,20 @@
+[Unit]
+Description=Gogs (Go Git Service)
+After=syslog.target
+After=network.target
+#After=mysqld.service
+#After=postgresql.service
+#After=memcached.service
+#After=redis.service
+
+[Service]
+Type=simple
+User=git
+Group=git
+WorkingDirectory=/home/git/gogs
+ExecStart=/home/git/gogs/gogs web
+Restart=always
+Environment=USER=git HOME=/home/git
+
+[Install]
+WantedBy=multi-user.target \ No newline at end of file