summaryrefslogtreecommitdiff
path: root/community/incron/incron.install
diff options
context:
space:
mode:
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
}