mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-02-01 13:17:47 +02: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…
x
Reference in New Issue
Block a user