aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorFrancesco Colista <francesco.colista@gmail.com>2012-01-31 14:39:59 +0000
committerFrancesco Colista <francesco.colista@gmail.com>2012-01-31 14:39:59 +0000
commit534b7b4beacc450aa2961dce44e8165ffd18ac2f (patch)
treee7187d8fb0f2389c32a478e337ac7380290a95d1 /main
parent0153acb96f43a7e510d6af1e165fb002b54a8d17 (diff)
downloadaports-534b7b4beacc450aa2961dce44e8165ffd18ac2f.tar.gz
aports-534b7b4beacc450aa2961dce44e8165ffd18ac2f.tar.bz2
aports-534b7b4beacc450aa2961dce44e8165ffd18ac2f.tar.xz
main/coova-chilli: added pre-install,post-install and conf.d file
Diffstat (limited to 'main')
-rw-r--r--main/coova-chilli/chilli.confd1
-rw-r--r--main/coova-chilli/chilli.post-install2
-rw-r--r--main/coova-chilli/chilli.pre-install4
3 files changed, 7 insertions, 0 deletions
diff --git a/main/coova-chilli/chilli.confd b/main/coova-chilli/chilli.confd
new file mode 100644
index 0000000000..b9c44e34bd
--- /dev/null
+++ b/main/coova-chilli/chilli.confd
@@ -0,0 +1 @@
+CHILLI_OPTS="--uid chilli --gid chilli"
diff --git a/main/coova-chilli/chilli.post-install b/main/coova-chilli/chilli.post-install
new file mode 100644
index 0000000000..10dfc9576a
--- /dev/null
+++ b/main/coova-chilli/chilli.post-install
@@ -0,0 +1,2 @@
+#!/bin/sh
+chown -R chilli:chilli /var/run/chilli
diff --git a/main/coova-chilli/chilli.pre-install b/main/coova-chilli/chilli.pre-install
new file mode 100644
index 0000000000..37be034eeb
--- /dev/null
+++ b/main/coova-chilli/chilli.pre-install
@@ -0,0 +1,4 @@
+#!/bin/sh
+adduser -H -s /bin/false -D chilli 2>/dev/null
+exit 0
+