From bc5c44dd049bad3b007be48b3f8d90886d63c105 Mon Sep 17 00:00:00 2001 From: System administrator Date: Mon, 29 May 2017 13:26:10 +0200 Subject: Initial commit --- images/znc/service/znc/run | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 images/znc/service/znc/run (limited to 'images/znc/service') diff --git a/images/znc/service/znc/run b/images/znc/service/znc/run new file mode 100644 index 0000000..14814ea --- /dev/null +++ b/images/znc/service/znc/run @@ -0,0 +1,5 @@ +#!/bin/sh + +chown -R znc /data +setcap 'cap_net_bind_service=+ep' /app/znc/bin/znc +exec sudo -u znc /app/znc/bin/znc --foreground --datadir /data -- cgit v1.2.3