aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/simple@.service
blob: 9d9de7d432773e7fc8a6f8642fb22a9a345fc049 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
[Unit]
Description=Simple python script runner
OnFailure=monitor@%n

[Service]
Type=simple
User=guillaume
Group=guillaume
ExecStart=/usr/bin/python %i.py 
WorkingDirectory=/home/guillaume/projects/code/python
EnvironmentFile=/etc/serenitas.conf
Environment=PYTHONPATH=/home/guillaume/projects/code/python
LoadCredential=serenitas:/etc/credstore