diff options
Diffstat (limited to 'scripts/simple@.service')
| -rw-r--r-- | scripts/simple@.service | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/scripts/simple@.service b/scripts/simple@.service new file mode 100644 index 00000000..09a293e7 --- /dev/null +++ b/scripts/simple@.service @@ -0,0 +1,12 @@ +[Unit] +Description=Simple python script runner +OnFailure=%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 |
