aboutsummaryrefslogtreecommitdiffstats
path: root/community/syncthing13/syncthing13.pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'community/syncthing13/syncthing13.pre-install')
-rw-r--r--community/syncthing13/syncthing13.pre-install6
1 files changed, 6 insertions, 0 deletions
diff --git a/community/syncthing13/syncthing13.pre-install b/community/syncthing13/syncthing13.pre-install
new file mode 100644
index 0000000000..685d7ed629
--- /dev/null
+++ b/community/syncthing13/syncthing13.pre-install
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+addgroup -S syncthing 2>/dev/null
+adduser -S -D -H -h /var/lib/syncthing -s /sbin/nologin -G syncthing -g syncthing syncthing 2>/dev/null
+
+exit 0