1 2 3 4 5 6 7 8 9 10 11 12 13 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/gogs web --config /srv/gogs/conf/app.ini WorkingDirectory=/usr/share/gogs/ [Install] WantedBy=multi-user.target