diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-08-22 09:40:09 -0500 |
---|---|---|
committer | Gaming4JC <g4jc@openmailbox.org> | 2015-08-23 17:46:40 -0400 |
commit | 7cb3aa72ded5049fe85e8fd2163f99f427dabd13 (patch) | |
tree | 6e52fdc18caab57ec35846e9f48f0b9b9367dd04 /pcr/mosquitto/mosquitto.install | |
parent | bb8a9fbae0c8534cabb24076f2fa9f29e4526cf4 (diff) |
mosquitto-1.4.3-1: updating version
Diffstat (limited to 'pcr/mosquitto/mosquitto.install')
-rw-r--r-- | pcr/mosquitto/mosquitto.install | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pcr/mosquitto/mosquitto.install b/pcr/mosquitto/mosquitto.install index b2dfb9600..ab99d1d0f 100644 --- a/pcr/mosquitto/mosquitto.install +++ b/pcr/mosquitto/mosquitto.install @@ -1,10 +1,12 @@ post_install() { - getent group mosquitto > /dev/null || groupadd mosquitto - getent passwd mosquitto > /dev/null || useradd -c 'Mosquitto MQTT Broker daemon' -d /etc/mosquitto -s /bin/false -g mosquitto mosquitto + getent group mosquitto > /dev/null || groupadd -g 567 mosquitto + getent passwd mosquitto > /dev/null || useradd -c 'Mosquitto MQTT Broker daemon' -d /etc/mosquitto -s /bin/false -g mosquitto -u 567 -g 567 mosquitto } post_upgrade() { post_install $1 + usermod -u 567 mosquitto + groupmod -g 567 mosquitto } post_remove() { |