1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2025-07-18 13:44:58 +03:00

AppVeyor: only add systemctl log when appropriate

This commit is contained in:
Ilya Shipitsin
2018-11-03 23:49:22 +05:00
parent 8b7b45b301
commit f97a20a9cc
2 changed files with 1 additions and 5 deletions

View File

@ -8,5 +8,5 @@ sudo dpkg -i build/softether-vpnclient*.deb
sudo dpkg -i build/softether-vpncmd*.deb
sudo dpkg -i build/softether-vpnserver*.deb
sudo systemctl restart softether-vpnserver
sudo systemctl restart softether-vpnserver || (sudo journalctl -xe --no-pager >> systemctl.log && appveyor PushArtifact systemctl.log && exit 1)