diff options
| -rw-r--r-- | scripts/markit@.service | 4 | ||||
| -rw-r--r-- | scripts/simple@.service | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/scripts/markit@.service b/scripts/markit@.service index 3047e816..36215e53 100644 --- a/scripts/markit@.service +++ b/scripts/markit@.service @@ -1,12 +1,12 @@ [Unit] Description=Run scripts from the markit folder -OnFailure=%n +OnFailure=monitor@%n [Service] Type=simple User=guillaume Group=guillaume -ExecStart=/usr/bin/python markit.py --%i +ExecStart=/usr/bin/python -m markit --%i WorkingDirectory=/home/guillaume/projects/code/python EnvironmentFile=/etc/serenitas.conf Environment=PYTHONPATH=/home/guillaume/projects/code/python diff --git a/scripts/simple@.service b/scripts/simple@.service index 09a293e7..cd7dc59f 100644 --- a/scripts/simple@.service +++ b/scripts/simple@.service @@ -1,6 +1,6 @@ [Unit] Description=Simple python script runner -OnFailure=%n +OnFailure=monitor@%n [Service] Type=simple |
