mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-25 02:04: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
|