diff options
author | 无闻 <joe2010xtmf@163.com> | 2014-09-16 14:21:37 -0400 |
---|---|---|
committer | 无闻 <joe2010xtmf@163.com> | 2014-09-16 14:21:37 -0400 |
commit | d082e821a049cdff74a78735f8457371f9b3f2f5 (patch) | |
tree | 85f85ce14f46c2c04422efd73a865c638796c03c | |
parent | ebb4f1b78cdf7ce877eafc346be94b8e8ac3217b (diff) | |
parent | 78bd144c1c050444b959ea43c0ef5c63b75ad27e (diff) | |
download | gitea-d082e821a049cdff74a78735f8457371f9b3f2f5.tar.gz gitea-d082e821a049cdff74a78735f8457371f9b3f2f5.zip |
Merge pull request #477 from fanningert/dev
Intial commit for systemd support
-rw-r--r-- | scripts/systemd/gogs.service | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/scripts/systemd/gogs.service b/scripts/systemd/gogs.service new file mode 100644 index 0000000000..1fa0b82aea --- /dev/null +++ b/scripts/systemd/gogs.service @@ -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 |