bridgehead/lib/systemd/bridgehead@.service

17 lines
379 B
SYSTEMD
Raw Normal View History

[Unit]
Description=Bridgehead (%i) Service
[Service]
2022-05-04 13:50:33 +02:00
User=bridgehead
Restart=always
RestartSec=30
WorkingDirectory=/srv/docker/bridgehead/
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
[Install]
2022-05-09 12:57:24 +02:00
WantedBy=multi-user.target