aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Palhares <masterkorp@masterkorp.net>2012-11-05 13:59:14 -0800
committerAlfredo Palhares <masterkorp@masterkorp.net>2012-11-05 13:59:14 -0800
commitb7c8ce64a13a811db093ec51915a095dc1c78fdb (patch)
tree84272ae7e7be4f238866a4df6a08872e192ca274
parent1e660bed50288e0a5ed4b08422fabe3fc33cd437 (diff)
parent14a1a17c2196eca0cae6c831651af9e53af391d8 (diff)
downloadrunit-services-b7c8ce64a13a811db093ec51915a095dc1c78fdb.zip
runit-services-b7c8ce64a13a811db093ec51915a095dc1c78fdb.tar.gz
runit-services-b7c8ce64a13a811db093ec51915a095dc1c78fdb.tar.bz2
Merge pull request #2 from acammack/add_mongodb
Add support for mongodb
-rw-r--r--PKGBUILD2
l---------etc/sv/mongodb/log/run1
-rwxr-xr-xetc/sv/mongodb/run3
3 files changed, 5 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 3beecde..82d843e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,7 +9,7 @@ license=('custom')
provides=('runit-services')
depends=('runit-dietlibc')
makedepends=('git')
-backup=('etc/sv/apache2/log/run' 'etc/sv/apache2/run' 'etc/sv/avahi/log/run' 'etc/sv/avahi/run' 'etc/sv/couchdb/log/run' 'etc/sv/couchdb/run' 'etc/sv/cups/log/run' 'etc/sv/cups/run' 'etc/sv/dbus/log/run' 'etc/sv/dbus/run' 'etc/sv/freeswitch/log/run' 'etc/sv/freeswitch/run' 'etc/sv/gdm/run' 'etc/sv/kdm/run' 'etc/sv/lighttpd2/log/run' 'etc/sv/lighttpd2/run' 'etc/sv/mysql/log/run' 'etc/sv/mysql/run' 'etc/sv/ntpd/log/run' 'etc/sv/ntpd/run' 'etc/sv/openntpd/log/run' 'etc/sv/openntpd/run' 'etc/sv/openvpn/log/run' 'etc/sv/openvpn/run' 'etc/sv/postgresql/log/run' 'etc/sv/postgresql/run' 'etc/sv/sshd/log/run' 'etc/sv/sshd/run')
+backup=('etc/sv/apache2/log/run' 'etc/sv/apache2/run' 'etc/sv/avahi/log/run' 'etc/sv/avahi/run' 'etc/sv/couchdb/log/run' 'etc/sv/couchdb/run' 'etc/sv/cups/log/run' 'etc/sv/cups/run' 'etc/sv/dbus/log/run' 'etc/sv/dbus/run' 'etc/sv/freeswitch/log/run' 'etc/sv/freeswitch/run' 'etc/sv/gdm/run' 'etc/sv/kdm/run' 'etc/sv/lighttpd2/log/run' 'etc/sv/lighttpd2/run' 'etc/sv/mongodb/log/run' 'etc/sv/mongodb/run' 'etc/sv/mysql/log/run' 'etc/sv/mysql/run' 'etc/sv/ntpd/log/run' 'etc/sv/ntpd/run' 'etc/sv/openntpd/log/run' 'etc/sv/openntpd/run' 'etc/sv/openvpn/log/run' 'etc/sv/openvpn/run' 'etc/sv/postgresql/log/run' 'etc/sv/postgresql/run' 'etc/sv/sshd/log/run' 'etc/sv/sshd/run')
source=('COPYRIGHT' "README.md")
md5sums=('69ec4109404fce21737ac93f9d844d49'
'48e57754259ba7b646ff30868b418fef')
diff --git a/etc/sv/mongodb/log/run b/etc/sv/mongodb/log/run
new file mode 120000
index 0000000..914853d
--- /dev/null
+++ b/etc/sv/mongodb/log/run
@@ -0,0 +1 @@
+/usr/bin/rsvlog \ No newline at end of file
diff --git a/etc/sv/mongodb/run b/etc/sv/mongodb/run
new file mode 100755
index 0000000..07455e3
--- /dev/null
+++ b/etc/sv/mongodb/run
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+exec chpst -u mongodb:daemon /usr/bin/mongod -f /etc/mongodb.conf 2>&1