Create log directory
This commit is contained in:
parent
05eb71a9ac
commit
80c1250ebc
1 changed files with 1 additions and 0 deletions
|
@ -186,6 +186,7 @@ systemctl enable $app.service
|
|||
# ADVERTISE SERVICE IN ADMIN PANEL
|
||||
#=================================================
|
||||
|
||||
mkdir -p /var/log/pterodactyl/
|
||||
touch /var/log/$app/$app-prod.log
|
||||
yunohost service add $app --log "/var/log/$app/$app-prod.log"
|
||||
|
||||
|
|
Loading…
Reference in a new issue