Only restart vaani if an update happens
This commit is contained in:
Родитель
1940d8da7c
Коммит
788a8fdf72
|
@ -11,3 +11,5 @@ export PKG_CONFIG_PATH=/opt/sphinxbase:/opt/pocketsphinx
|
|||
|
||||
systemctl --system set-environment VAANI_BOOTS=$1
|
||||
systemctl restart vaani
|
||||
kill -SIGSTOP $$
|
||||
systemctl stop vaani
|
||||
|
|
|
@ -11,7 +11,7 @@ Type=simple
|
|||
StandardOutput=journal
|
||||
StandardError=journal
|
||||
WorkingDirectory=/opt/git-auto-updater
|
||||
ExecStart=/opt/git-auto-updater/bin/git-auto-updater -r https://github.com/mozilla/vaani.client -b deployed -p /opt/vaani.client -t 0200 -e 1 -- bash /opt/vaani.raspberrypi/client/update.sh
|
||||
ExecStart=/opt/git-auto-updater/bin/git-auto-updater -r https://github.com/mozilla/vaani.client -b deployed -p /opt/vaani.client -t 0200 -e 1 -s SIGCONT -- bash /opt/vaani.raspberrypi/client/update.sh
|
||||
|
||||
Restart=always
|
||||
RestartSec=10s
|
||||
|
|
Загрузка…
Ссылка в новой задаче