mkdir /var/log/swarmops

This commit is contained in:
Rick Falkvinge
2017-01-15 19:57:34 +01:00
parent 3e5da30361
commit 0a696dd9cb
2 changed files with 8 additions and 4 deletions
@@ -2,8 +2,10 @@
#echo "DEBUG: Executing post-installation script, swarmops-backend"
adduser --system --group --no-create-home --quiet swarmopsback
usermod -a -G syslog swarmopsback
adduser --system --group --no-create-home --quiet swarmops
usermod -a -G syslog swarmops
mkdir -p /var/log/swarmops
#Upstart deprecated; support systemd only
@@ -2,8 +2,10 @@
#echo "DEBUG: Executing post-install script, swarmops-frontend"
adduser --system --group --no-create-home --quiet swarmopsfront
usermod -a -G syslog swarmopsfront
adduser --system --group --no-create-home --quiet swarmops
usermod -a -G syslog swarmops
mkdir -p /var/log/swarmops
# make sure the upload folder exists and is writeable by www-data
# do not make any changes to an already existing folder