mirror of
https://github.com/vimagick/dockerfiles
synced 2024-06-28 09:41:20 +00:00
add gogo.service
This commit is contained in:
parent
36f4b9ef6e
commit
f2bd0904bd
15
gogs/gogs.service
Normal file
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
|
Loading…
Reference in New Issue
Block a user