Without this user & group, the daemon will immediately exit after starting.

Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/mail/greyscanner/pkg/PLIST,v
retrieving revision 1.3
diff -u -p -r1.3 PLIST
--- pkg/PLIST   30 Nov 2020 15:41:56 -0000      1.3
+++ pkg/PLIST   14 Dec 2020 10:53:36 -0000
@@ -1,4 +1,6 @@
 @comment $OpenBSD: PLIST,v 1.3 2020/11/30 15:41:56 gonzalo Exp $
+@newgroup _greyscanner:729
+@newuser _greyscanner:729:729:daemon:greyscanner daemon:/nonexistent:/sbin/nologin
 @rcscript ${RCDIR}/greyscanner
 @man man/man1/greyscanner.1
 sbin/greyscanner


--
Boudewijn Dijkstra
Indes-IDS B.V.
+31 345 545 535

Reply via email to