Skip to content
Snippets Groups Projects

Add unit files to manage services with systemd

Merged Thomas Kluyver requested to merge systemd into master
1 unresolved thread
3 files
+ 3
0
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -6,6 +6,7 @@ PartOf=cal-services.target
@@ -6,6 +6,7 @@ PartOf=cal-services.target
Type=exec
Type=exec
WorkingDirectory=%h/deployments/development/git.xfel.eu/detectors/pycalibration/current/
WorkingDirectory=%h/deployments/development/git.xfel.eu/detectors/pycalibration/current/
ExecStart=%h/deployments/development/git.xfel.eu/detectors/pycalibration/current/.venv/bin/python -m webservice.job_monitor --log-level DEBUG
ExecStart=%h/deployments/development/git.xfel.eu/detectors/pycalibration/current/.venv/bin/python -m webservice.job_monitor --log-level DEBUG
 
ExecStartPost=/usr/bin/sleep 1 # Pause to make errors in startup more obvious
Restart=on-failure
Restart=on-failure
[Install]
[Install]
Loading