17 lines
327 B
SYSTEMD
17 lines
327 B
SYSTEMD
[Unit]
|
|
Description=Bridgehead (%i) Service
|
|
|
|
[Service]
|
|
User=bridgehead
|
|
Restart=always
|
|
RestartSec=30
|
|
|
|
WorkingDirectory=/srv/docker/bridgehead/
|
|
|
|
ExecStart=/srv/docker/bridgehead/start-bridgehead.sh %i
|
|
RemainAfterExit=true
|
|
ExecStop=/srv/docker/bridgehead/stop-bridgehead.sh %i
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|