Created
December 21, 2016 23:03
-
-
Save anjandev/471b0241eb4523de1c1b9b0adab625b6 to your computer and use it in GitHub Desktop.
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
# Save this to /home/USER/.config/systemd/user/sr.ht.service | |
[Unit] | |
Description=Sr.ht Files Server | |
[Service] | |
Type=simple | |
# Remember to change these values to your user name | |
ExecStart=/usr/bin/python /home/anjan/sr.ht/app.py | |
WorkingDirectory = /home/anjan/sr.ht/ | |
PrivateTmp=true | |
Restart=always | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment