Skip to content

Commit

Permalink
add gogo.service
Browse files Browse the repository at this point in the history
  • Loading branch information
vimagick committed May 26, 2016
1 parent 36f4b9e commit f2bd090
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions gogs/gogs.service
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit f2bd090

Please sign in to comment.