Browse Source

Intial commit for systemd support

tags/v0.9.99
Thomas Fanninger 9 years ago
parent
commit
78bd144c1c
1 changed files with 18 additions and 0 deletions
  1. 18
    0
      scripts/systemd/gogs.service

+ 18
- 0
scripts/systemd/gogs.service View File

@@ -0,0 +1,18 @@
[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

Loading…
Cancel
Save