15 lines
353 B
Bash
15 lines
353 B
Bash
#!/bin/bash
|
|
|
|
#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
|
|
|
|
systemctl enable swarmops-backend
|
|
systemctl start swarmops-backend
|
|
|
|
#echo "DEBUG: Exiting post-install script, swarmops-backend"
|
|
|