Create log directory

This commit is contained in:
frju365 2019-01-02 22:32:31 +01:00
parent 05eb71a9ac
commit 80c1250ebc
No known key found for this signature in database
GPG key ID: 59BFB76C5925FC73

View file

@ -186,6 +186,7 @@ systemctl enable $app.service
# ADVERTISE SERVICE IN ADMIN PANEL # ADVERTISE SERVICE IN ADMIN PANEL
#================================================= #=================================================
mkdir -p /var/log/pterodactyl/
touch /var/log/$app/$app-prod.log touch /var/log/$app/$app-prod.log
yunohost service add $app --log "/var/log/$app/$app-prod.log" yunohost service add $app --log "/var/log/$app/$app-prod.log"