Skip to content

Commit 9ca69cf

Browse files
author
eugene
committed
Correct wsddn user defaults for OpenBSD and NetBSD
1 parent 498ba7f commit 9ca69cf

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/sys_config.h.in

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,14 @@
2525
#define WSDDN_DEFAULT_USER_NAME "_wsddn"
2626
#define WSDDN_DEFAULT_CHROOT_DIR "/var/empty"
2727
#define WSDDN_BUNDLE_IDENTIFIER "@WSDDN_BUNDLE_IDENTIFIER@"
28+
#elif defined(__OpenBSD__)
29+
#define WSDDN_PLATFORM_APPLE 0
30+
#define WSDDN_DEFAULT_USER_NAME "_wsddn"
31+
#define WSDDN_DEFAULT_CHROOT_DIR "/var/empty"
32+
#elif defined(__NetBSD__)
33+
#define WSDDN_PLATFORM_APPLE 0
34+
#define WSDDN_DEFAULT_USER_NAME "_wsddn"
35+
#define WSDDN_DEFAULT_CHROOT_DIR "/var/chroot/wsddn"
2836
#else
2937
#define WSDDN_PLATFORM_APPLE 0
3038
#define WSDDN_DEFAULT_USER_NAME "wsddn"

0 commit comments

Comments
 (0)