2022-02-16 09:59:53 +01:00
|
|
|
[Unit]
|
2022-09-30 15:25:09 +02:00
|
|
|
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
|
2022-10-06 10:45:50 +02:00
|
|
|
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
|
2022-10-06 10:45:50 +02:00
|
|
|
ExecStopPost=-/srv/docker/bridgehead/bridgehead postRun %i
|
2022-02-16 09:59:53 +01:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|