bundlewrap/bundles/voc-tracker-worker/files/crs-runner.service

17 lines
320 B
SYSTEMD
Raw Permalink Normal View History

2022-04-22 13:08:27 +00:00
[Unit]
Description=CRS runner for ${script}
After=network.target
[Service]
User=voc
Group=voc
EnvironmentFile=/etc/default/crs-worker
2022-04-22 13:08:27 +00:00
ExecStart=/opt/crs-scripts/bin/crs_run ${script}
WorkingDirectory=/opt/crs-scripts
Restart=on-failure
RestartSec=10
SyslogIdentifier=crs-${worker}
2022-04-22 13:08:27 +00:00
[Install]
WantedBy=crs-worker.target