Last active
February 12, 2018 05:25
-
-
Save riipandi/c686a968b312851e82287f813c31a334 to your computer and use it in GitHub Desktop.
Build Your Private Git Server
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=mysql.service postgresql.service memcached.service redis.service | |
[Service] | |
Type=simple | |
User=git | |
Group=www-data | |
Restart=always | |
WorkingDirectory=/home/git | |
ExecStart=/home/git/gitea web | |
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