2022-04-22 13:08:27 +00:00
|
|
|
[Unit]
|
|
|
|
Description=CRS runner for ${script}
|
|
|
|
After=network.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
User=voc
|
|
|
|
Group=voc
|
2023-10-22 06:58:48 +00:00
|
|
|
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
|
2022-04-27 03:40:20 +00:00
|
|
|
SyslogIdentifier=crs-${worker}
|
2022-04-22 13:08:27 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=crs-worker.target
|