From 58183010cf058940694e49d95367513301449e60 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Tue, 12 May 2009 11:40:48 +0000 Subject: testing/opensips: added init.d and pre/post install scripts --- testing/opensips/opensips.post-install | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 testing/opensips/opensips.post-install (limited to 'testing/opensips/opensips.post-install') diff --git a/testing/opensips/opensips.post-install b/testing/opensips/opensips.post-install new file mode 100644 index 0000000000..e0b90e8640 --- /dev/null +++ b/testing/opensips/opensips.post-install @@ -0,0 +1,3 @@ +#!/bin/sh + +chown -R opensips:opensips /var/run/opensips -- cgit v1.2.3 From fb1384b92fe6d183c2e4fe0dc5b728912d99a0fb Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Tue, 12 May 2009 15:32:03 +0000 Subject: testing/opensips: set permissions on config file --- testing/opensips/opensips.post-install | 2 ++ 1 file changed, 2 insertions(+) (limited to 'testing/opensips/opensips.post-install') diff --git a/testing/opensips/opensips.post-install b/testing/opensips/opensips.post-install index e0b90e8640..eb9d86d98b 100644 --- a/testing/opensips/opensips.post-install +++ b/testing/opensips/opensips.post-install @@ -1,3 +1,5 @@ #!/bin/sh chown -R opensips:opensips /var/run/opensips +chgrp opensips /etc/opensips/opensips.cfg +exit 0 -- cgit v1.2.3