mirror of https://github.com/samply/bridgehead.git
13 lines
305 B
SYSTEMD
13 lines
305 B
SYSTEMD
[Unit]
|
|
Description=Bridgehead (%i) Update Service
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
User=bridgehead
|
|
ExecStartPre=-/srv/docker/bridgehead/bridgehead preUpdate %i
|
|
ExecStart=/srv/docker/bridgehead/bridgehead update %i
|
|
ExecStopPost=-/srv/docker/bridgehead/bridgehead postUpdate %i
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|