Files
proxmox/config/systemd/op-stack-batcher.example.service

21 lines
399 B
SYSTEMD
Raw Normal View History

# Example unit — op-batcher
[Unit]
Description=OP Stack op-batcher — example
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
User=opstack
Group=opstack
WorkingDirectory=/opt/op-stack
EnvironmentFile=-/etc/op-stack/batcher.env
# ExecStart=/opt/op-stack/bin/op-batcher ...
ExecStart=/bin/false
Restart=on-failure
RestartSec=15
[Install]
WantedBy=multi-user.target