mirror of https://git.48k.eu/ogserver
#981 Use 'Wants' for mysql systemd unit dependency
Unnattended upgrades from Ubuntu can cause a stop and start of mysql service, this in turn makes ogserver go down. Avoid ogserver shutting down when mysql does. It's not necessary, ogserver can report if it can't connect to the database. 'Wants' declare a weak dependency as described in https://www.freedesktop.org/software/systemd/man/systemd.unit.html#Wants=master
parent
047677bb4b
commit
5558fbcf0b
|
@ -3,7 +3,7 @@
|
|||
[Unit]
|
||||
Documentation=https://opengnsys.es/trac/wiki/En%%3ADocumentacionUsuario
|
||||
Description=OpenGnsys server
|
||||
Requires=mysql.service
|
||||
Wants=mysql.service
|
||||
After=mysql.service
|
||||
|
||||
[Install]
|
||||
|
|
Loading…
Reference in New Issue