Last active
August 29, 2015 13:57
-
-
Save thynson/9599356 to your computer and use it in GitHub Desktop.
systemd goagent user session
This file contains 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 file to $HOME/.local/share/systemd/user/goagent.service | |
# Install goagent to $HOME/.local/share/goagent | |
# | |
# Enable goagent by | |
# systemctl --user enable goagent | |
# systemctl --user start goagent | |
# | |
[Unit] | |
Description=GoAgent | |
[Service] | |
ExecStart=/usr/bin/bash -c '/usr/bin/python2.7 $HOME/.local/share/goagent/local/proxy.py' | |
StandardOutput=inherit | |
StandardError=inherit | |
[Install] | |
WantedBy=default.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment