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