mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-27 02:09:06 +02:00
16 lines
259 B
SYSTEMD
16 lines
259 B
SYSTEMD
|
[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
|