mirror of
https://github.com/samply/bridgehead.git
synced 2025-06-17 07:10:14 +02:00
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.
This commit is contained in:
@ -5,10 +5,10 @@ Description=Start ECDC Bridgehead
|
||||
Type=simple
|
||||
ExecStart=/srv/docker/bridgehead/restart_service.sh
|
||||
ExecStop=/srv/docker/bridgehead/shutdown_service.sh
|
||||
Restart=on-failure
|
||||
Restart=always
|
||||
RestartSec=36000
|
||||
KillMode=mixed
|
||||
|
||||
[Install]
|
||||
WantedBy=multi.user.target
|
||||
WantedBy=default.target
|
||||
|
||||
|
Reference in New Issue
Block a user