blob: 574d74973a45d9e0661634be819769a220ec5177 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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=gogs
Group=gogs
WorkingDirectory=/srv/gogs/
ExecStart=/usr/share/gogs/gogs web --config /srv/gogs/conf/app.ini
Restart=always
Environment=USER=gogs HOME=/home/gogs
[Install]
WantedBy=multi-user.target
|