Files
bridgehead/ecdc.service
Gerhard Salvini 520c560be0 Got systemctl restart to work locally
There were problems on my Ubuntu VM with the target run level that I was
using, so I went for the default. Now, if I restart my VM, the Bridgehead
is successfully started automatically.

Also added some status-generating commands to the run.sh and stop.sh
scripts, so that it looks like they are doing something.
2024-07-18 12:31:42 +02:00

15 lines
251 B
Desktop File

[Unit]
Description=Start ECDC Bridgehead
[Service]
Type=simple
ExecStart=/srv/docker/bridgehead/restart_service.sh
ExecStop=/srv/docker/bridgehead/shutdown_service.sh
Restart=always
RestartSec=36000
KillMode=mixed
[Install]
WantedBy=default.target