Skip to content

Instantly share code, notes, and snippets.

@thynson
Last active August 29, 2015 13:57
Show Gist options
  • Save thynson/9599356 to your computer and use it in GitHub Desktop.
Save thynson/9599356 to your computer and use it in GitHub Desktop.
systemd goagent user session
#
# 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