summaryrefslogtreecommitdiff
path: root/user/chrony/chrony.pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'user/chrony/chrony.pre-install')
-rw-r--r--user/chrony/chrony.pre-install6
1 files changed, 6 insertions, 0 deletions
diff --git a/user/chrony/chrony.pre-install b/user/chrony/chrony.pre-install
new file mode 100644
index 000000000..897fb74cc
--- /dev/null
+++ b/user/chrony/chrony.pre-install
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+addgroup -S chrony 2>/dev/null
+adduser -S -D -h /var/log/chrony -s /sbin/nologin -G chrony -g chrony chrony 2>/dev/null
+
+exit 0