Created
May 17, 2017 19:24
-
-
Save krmnn/6fd0d3650bb526ca2660892724a27270 to your computer and use it in GitHub Desktop.
A systemd service file for running gitea 1.1.1 on Debian Jessie
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Gitea | |
After=syslog.target | |
After=network.target | |
After=postgresql.service | |
# for fcgi appliance: | |
#After=memcached.service | |
[Service] | |
Type=simple | |
User=git | |
Group=git | |
WorkingDirectory=/home/git/gitea | |
ExecStart=/home/git/gitea/gitea web | |
Restart=always | |
Environment=USER=git HOME=/home/git | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment