diff options
author | System administrator | 2017-05-29 13:26:10 +0200 |
---|---|---|
committer | System administrator | 2017-05-29 13:26:10 +0200 |
commit | bc5c44dd049bad3b007be48b3f8d90886d63c105 (patch) | |
tree | a381d989db2295f228f9bc95a774f0cc9aef4c40 /images/znc/service | |
download | server-bc5c44dd049bad3b007be48b3f8d90886d63c105.tar.gz server-bc5c44dd049bad3b007be48b3f8d90886d63c105.tar.xz server-bc5c44dd049bad3b007be48b3f8d90886d63c105.zip |
Initial commit
Diffstat (limited to 'images/znc/service')
-rw-r--r-- | images/znc/service/znc/run | 5 |
1 files changed, 5 insertions, 0 deletions
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 |