diff options
author | Jonas Smedegaard <dr@jones.dk> | 2013-02-19 13:18:17 +0100 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2013-02-19 13:18:17 +0100 |
commit | ef94ac80106a4df7556104cddd316f7c89cfb469 (patch) | |
tree | 0bfa0a9f09aec4e0eae7cd65c9edb8c11d95865f | |
parent | 3fac69eff39f31eb7d0d781ca78fe536d36c46fb (diff) |
Update ejabberd script to fail on error and restart after change.
-rwxr-xr-x | ejabberd/setuid-epam-for-shadow-access.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ejabberd/setuid-epam-for-shadow-access.sh b/ejabberd/setuid-epam-for-shadow-access.sh index 0eae071..5799279 100755 --- a/ejabberd/setuid-epam-for-shadow-access.sh +++ b/ejabberd/setuid-epam-for-shadow-access.sh @@ -1,3 +1,7 @@ #!/bin/sh +set -e + dpkg-statoverride --update --add root ejabberd 4750 /usr/lib/ejabberd/priv/bin/epam + +service ejabberd restart |