TT#26264 Use /var/run/ngcp-sems again as home of user "sems", instead of /run

It breaks some tests, that could be changed, but maybe there are some other
unintended consequences, and it's not important to change to /run right now (in
fact, it might be undesired for consistency reasons with respect to the other
sems-service variant, etc.)

  User: sems: home: doesn't match, expect: [{"or":["/var/run/ngcp-sems","/var/run/sems"]}] found: ["/run/ngcp-sems"]

Change-Id: I2038e0d90b46dc12eeecf4bcc7ad4e249688ad20
changes/16/19816/1
Manuel Montecelo 8 years ago
parent b471eefc22
commit f51d21949a

@ -6,7 +6,7 @@ case "$1" in
configure)
# add sems user
adduser --quiet --system --group --disabled-password --shell /bin/false \
--gecos "SIP Express Media Server" --home /run/ngcp-sems sems || true
--gecos "SIP Express Media Server" --home /var/run/ngcp-sems sems || true
;;
abort-upgrade|abort-remove|abort-deconfigure)
exit 0

Loading…
Cancel
Save