added users to syslog group
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
#echo "DEBUG: Executing post-installation script, swarmops-backend"
|
||||
|
||||
adduser --system --group --no-create-home --quiet swarmopsback
|
||||
usermod -a -G syslog swarmopsback
|
||||
|
||||
#Upstart deprecated; support systemd only
|
||||
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
#echo "DEBUG: Executing post-install script, swarmops-frontend"
|
||||
|
||||
adduser --system --group --no-create-home --quiet swarmopsfront
|
||||
usermod -a -G syslog swarmopsfront
|
||||
|
||||
# make sure the upload folder exists and is writeable by www-data
|
||||
# do not make any changes to an already existing folder
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
#! /bin/bash
|
||||
|
||||
#echo "DEBUG: Executing pre-remove script, swarmops-frontend"
|
||||
|
||||
# Support for Upstart deprecated; support systemd only
|
||||
|
||||
systemctl stop swarmops-frontend
|
||||
systemctl disable swarmops-frontend
|
||||
|
||||
#echo "DEBUG: Exiting pre-remove script, swarmops-frontend"
|
||||
Reference in New Issue
Block a user