aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/python_dir@.service
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/python_dir@.service')
-rw-r--r--scripts/python_dir@.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/python_dir@.service b/scripts/python_dir@.service
new file mode 100644
index 00000000..c37b0b99
--- /dev/null
+++ b/scripts/python_dir@.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Call base python projects directory
+
+[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