bridgehead/lib/systemd/bridgehead@.service

16 lines
374 B
SYSTEMD
Raw Permalink Normal View History

2022-02-16 09:59:53 +01:00
[Unit]
Description=Bridgehead (%i)
Requires=docker.service
2022-02-16 09:59:53 +01:00
[Service]
2022-07-19 14:18:48 +02:00
User=bridgehead
2022-02-16 09:59:53 +01:00
Restart=always
RestartSec=30
ExecStartPre=-/srv/docker/bridgehead/bridgehead preRun %i
2022-07-19 14:18:48 +02:00
ExecStart=/srv/docker/bridgehead/bridgehead start %i
ExecStop=/srv/docker/bridgehead/bridgehead stop %i
ExecStopPost=-/srv/docker/bridgehead/bridgehead postRun %i
2022-02-16 09:59:53 +01:00
[Install]
WantedBy=multi-user.target