Fixed the creation and permissions on log file.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -14,7 +14,11 @@ trap 'kill ${!}; term_handler' SIGTERM
|
|||||||
# setup home directory for the current user. It is useful for attaching vscode with container.
|
# setup home directory for the current user. It is useful for attaching vscode with container.
|
||||||
sudo mkhomedir_helper `whoami`
|
sudo mkhomedir_helper `whoami`
|
||||||
|
|
||||||
sudo touch $LOG_FILE
|
if [[ $LOG_FILE != "/dev/null" ]];
|
||||||
|
then
|
||||||
|
sudo touch $LOG_FILE
|
||||||
|
sudo chown -R $(id -u):$(id -g) $LOG_FILE
|
||||||
|
fi
|
||||||
|
|
||||||
eval $SYS_COMMAND_INIT
|
eval $SYS_COMMAND_INIT
|
||||||
eval $USER_COMMAND_INIT &
|
eval $USER_COMMAND_INIT &
|
||||||
|
|||||||
Reference in New Issue
Block a user