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
Files
3
+ 11
0
[Unit]
Description=XFEL offline calibration Slurm job monitor
[Service]
Type=exec
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
Restart=on-failure
[Install]
WantedBy=default.target
Loading