We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b447d18 commit 6c84223Copy full SHA for 6c84223
scripts/start.sh
scripts/systemd/gogs.service
@@ -1,5 +1,5 @@
1
[Unit]
2
-Description=Gogs (Go Git Service) server
+Description=Gogs (Go Git Service)
3
After=syslog.target
4
After=network.target
5
#After=mysqld.service
@@ -11,8 +11,10 @@ After=network.target
11
Type=simple
12
User=git
13
Group=git
14
-ExecStart=/home/git/gogs/gogs/start.sh
15
WorkingDirectory=/home/git/gogs
+ExecStart=/home/git/gogs/gogs web
16
+Restart=always
17
+Environment="USER=git","HOME=/home/git"
18
19
[Install]
20
WantedBy=multi-user.target
0 commit comments