b0cc0ccb14
Changed some places to templates to make it possible to change agent user using monasca_setup. There is one place that it is still hard coded The deb creation now uses a hardcoded mon-agent user instead of monasca-agent Change-Id: I8f2ee8903289d74c0397ccf911701c89e7a1b691
10 lines
117 B
Bash
10 lines
117 B
Bash
#! /bin/bash
|
|
set -e
|
|
|
|
if [ "$1" = purge ]; then
|
|
update-rc.d monasca-agent remove
|
|
deluser mon-agent
|
|
fi
|
|
|
|
exit 0
|