2021-12-21 09:12:34 +01:00
|
|
|
[Unit]
|
|
|
|
Description=Bridgehead (%i) Service
|
|
|
|
|
|
|
|
[Service]
|
2022-05-04 13:50:33 +02:00
|
|
|
User=bridgehead
|
2021-12-21 09:12:34 +01:00
|
|
|
Restart=always
|
|
|
|
RestartSec=30
|
|
|
|
|
2022-01-11 13:48:02 +01:00
|
|
|
WorkingDirectory=/srv/docker/bridgehead/
|
2021-12-21 09:12:34 +01:00
|
|
|
|
2022-05-09 12:57:24 +02:00
|
|
|
ExecStartPre=exec /srv/docker/bridgehead/stop-bridgehead.sh %i
|
|
|
|
ExecStart=exec /srv/docker/bridgehead/start-bridgehead.sh %i
|
|
|
|
ExecStop=exec /srv/docker/bridgehead/stop-bridgehead.sh %i
|
2021-12-21 09:12:34 +01:00
|
|
|
|
|
|
|
[Install]
|
2022-05-09 12:57:24 +02:00
|
|
|
WantedBy=multi-user.target
|