1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-24 07:48:38 +00:00

add gogo.service

This commit is contained in:
kev 2016-05-26 16:56:47 +08:00
parent 36f4b9ef6e
commit f2bd0904bd

15
gogs/gogs.service Normal file

@ -0,0 +1,15 @@
[Unit]
Description=Gogs (Go Git Service)
After=network.target
[Service]
Type=simple
User=git
Group=git
WorkingDirectory=/home/git/gogs
ExecStart=/home/git/gogs/gogs web
Restart=always
Environment=USER=git HOME=/home/git
[Install]
WantedBy=multi-user.target