summaryrefslogtreecommitdiff
path: root/community/incron/incron.install
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-08-01 00:01:57 +0000
committerroot <root@rshg054.dnsready.net>2012-08-01 00:01:57 +0000
commita71961a43ef48f47d3575915f63099308a18a263 (patch)
tree7cff98e17a13de6beae6d0a56c0d1bf75a74fb5a /community/incron/incron.install
parent5b3474881a154216b47c6e154552ee5f9c68c509 (diff)
Wed Aug 1 00:01:57 UTC 2012
Diffstat (limited to 'community/incron/incron.install')
-rw-r--r--community/incron/incron.install4
1 files changed, 2 insertions, 2 deletions
diff --git a/community/incron/incron.install b/community/incron/incron.install
index de4de3742..fa42d9cdc 100644
--- a/community/incron/incron.install
+++ b/community/incron/incron.install
@@ -1,7 +1,7 @@
post_install () {
# Check user/group incron exists
- getent group incron > /dev/null || groupadd incron
- getent passwd incron > /dev/null || useradd -c "Incron system" -g incron -s /bin/false -d /var/spool/incron incron
+ getent group incron > /dev/null || groupadd -r incron
+ getent passwd incron > /dev/null || useradd -r -c "Incron system" -g incron -s /bin/false -d /var/spool/incron incron
# Fix permissions
chown incron.incron -R /var/spool/incron
}