summarylogtreecommitdiffstats
path: root/gogs.service
blob: 9eaa603b9f84f5ff2d21f8c55a96f6887492bdab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[Unit]
Description=Gogs (Go Git Service)
After=syslog.target
After=network.target

[Service]
Type=simple
User=gogs
Group=gogs
Environment=GOGS_WORK_DIR=/var/lib/gogs USER=gogs HOME=/var/lib/gogs
ExecStart=/usr/bin/gogs web
WorkingDirectory=/var/lib/gogs
Restart=always

[Install]
WantedBy=multi-user.target