bridgehead/lib/systemd/bridgehead@.service

15 lines
323 B
SYSTEMD
Raw 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 fixPermissions %i
2022-07-19 14:18:48 +02:00
ExecStart=/srv/docker/bridgehead/bridgehead start %i
ExecStop=/srv/docker/bridgehead/bridgehead stop %i
2022-02-16 09:59:53 +01:00
[Install]
WantedBy=multi-user.target