Skip to content

Instantly share code, notes, and snippets.

@Jaxmetalmax
Created January 11, 2019 01:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Jaxmetalmax/04ca662757dc1174e75d8b6747789e67 to your computer and use it in GitHub Desktop.
Save Jaxmetalmax/04ca662757dc1174e75d8b6747789e67 to your computer and use it in GitHub Desktop.
Systemd unit example python app
[Unit]
Description = servicio para aplicacion deploywebhook
[Service]
User=appuser
Group=appuser
ExecStart=/home/appuser/startapp.sh
Restart=always
RestartSec=5
KillSignal=SIGQUIT
StandardError=syslog
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment