Last active
March 12, 2018 20:14
-
-
Save 04n0/230e4ecdee0e9918c8dbe6d0f1080f29 to your computer and use it in GitHub Desktop.
pyconsk-ansible-workshop - ansible-workshop.service
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=ansible-workshop | |
After=network.target | |
[Service] | |
ExecStart=/bin/sh -c '/usr/bin/python3 /opt/ansible-workshop/pycon.py >> /opt/ansible-workshop/pycon.log 2>&1' | |
Restart=on-abort | |
WorkingDirectory=/opt/ansible-workshop/ | |
User=workshop | |
RemainAfterExit=yes | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment