mirror of
https://github.com/go-gitea/gitea
synced 2024-11-26 21:23:03 +01:00
19 lines
334 B
SYSTEMD
19 lines
334 B
SYSTEMD
|
[Unit]
|
||
|
Description=Gogs (Go Git Service) server
|
||
|
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
|
||
|
ExecStart=/home/git/gogs/gogs/start.sh
|
||
|
WorkingDirectory=/home/git/gogs
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|