update log path

This commit is contained in:
Pascal Fischer 2023-05-25 12:22:13 +02:00
parent ac0e40da7e
commit 98eb2d4587
2 changed files with 5 additions and 2 deletions

View File

@ -2,6 +2,7 @@
APP=/Applications/NetBird.app
AGENT=/usr/local/bin/netbird
LOG_FILE=/var/log/netbird/client_install.log
{
echo "Installing NetBird..."
@ -28,4 +29,4 @@ AGENT=/usr/local/bin/netbird
echo "Finished Netbird installation successfully"
exit 0 # all good
} > /tmp/my_postinstall.log
} >> $LOG_FILE

View File

@ -1,6 +1,8 @@
#!/bin/sh
LOG_FILE=/var/log/netbird/client_install.log
{
echo "Preinstall complete"
exit 0 # all good
} > /tmp/my_preinstall.log
} > $LOG_FILE