mirror of
https://github.com/samply/bridgehead.git
synced 2025-06-16 20:40:15 +02:00
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.
15 lines
251 B
Desktop File
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
|
|
|