diff options
Diffstat (limited to 'gogs.service')
-rw-r--r-- | gogs.service | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gogs.service b/gogs.service new file mode 100644 index 000000000000..14f15c1ba319 --- /dev/null +++ b/gogs.service @@ -0,0 +1,15 @@ +[Unit] +Description=Gogs (Go Git Service) +After=network.target + +[Service] +Type=simple +User=gogs +Group=gogs +Environment="GOGS_WORK_DIR=/var/lib/gogs" +WorkingDirectory=/var/lib/gogs +ExecStart=/usr/bin/gogs web +Restart=always + +[Install] +WantedBy=multi-user.target |