about summary refs log tree commit diff
path: root/services
diff options
context:
space:
mode:
authorJuan RP <xtraeme@gmail.com>2014-08-15 07:01:11 +0200
committerJuan RP <xtraeme@gmail.com>2014-08-15 07:01:11 +0200
commita507f6309c61c60b2d73c0e93f83e4c7bad15315 (patch)
treed1cc76607428eddb47661536573bb2877ceeddd3 /services
parent3673b4b7aa7b75d12a0baa6c446b82a393f94c78 (diff)
downloadrunit-void-a507f6309c61c60b2d73c0e93f83e4c7bad15315.tar.gz
runit-void-a507f6309c61c60b2d73c0e93f83e4c7bad15315.tar.xz
runit-void-a507f6309c61c60b2d73c0e93f83e4c7bad15315.zip
services: fix permissions on some services and stop hardcoding path to bins.
Diffstat (limited to 'services')
-rwxr-xr-xservices/agetty-console/run2
-rwxr-xr-xservices/agetty-generic/run2
-rwxr-xr-xservices/agetty-tty1/run2
-rwxr-xr-xservices/agetty-ttyS0/run2
-rwxr-xr-xservices/alsa/run2
-rwxr-xr-x[-rw-r--r--]services/apache/run2
-rwxr-xr-xservices/cntlm/run2
-rwxr-xr-xservices/connman/run2
-rwxr-xr-xservices/cups/run2
-rwxr-xr-xservices/docker/run2
-rwxr-xr-xservices/dropbear/run2
-rwxr-xr-xservices/kdm/run2
-rwxr-xr-x[-rw-r--r--]services/lighttpd/run2
-rwxr-xr-xservices/lxdm/run2
-rwxr-xr-xservices/mpd/run2
-rwxr-xr-xservices/redis/run2
-rwxr-xr-xservices/slim/run2
-rwxr-xr-xservices/sshd/run4
-rwxr-xr-xservices/sulogin/run2
-rwxr-xr-xservices/transmission-daemon/run2
-rwxr-xr-xservices/upsd/run2
-rwxr-xr-xservices/upsdrvctl/run2
-rwxr-xr-xservices/upsmon/run2
-rwxr-xr-xservices/wicd/run2
-rwxr-xr-xservices/xinetd/run2
25 files changed, 26 insertions, 26 deletions
diff --git a/services/agetty-console/run b/services/agetty-console/run
index 08b401c..5a91e76 100755
--- a/services/agetty-console/run
+++ b/services/agetty-console/run
@@ -1,2 +1,2 @@
 #!/bin/sh
-exec /sbin/agetty console linux
+exec agetty console linux
diff --git a/services/agetty-generic/run b/services/agetty-generic/run
index 9d4cf49..98cc190 100755
--- a/services/agetty-generic/run
+++ b/services/agetty-generic/run
@@ -1,3 +1,3 @@
 #!/bin/sh
 tty=${PWD##*-}
-exec setsid /sbin/agetty $tty linux
+exec setsid agetty $tty linux
diff --git a/services/agetty-tty1/run b/services/agetty-tty1/run
index ab8c073..5c4dab1 100755
--- a/services/agetty-tty1/run
+++ b/services/agetty-tty1/run
@@ -1,3 +1,3 @@
 #!/bin/sh
 tty=${PWD##*-}
-exec setsid /sbin/agetty $([ $tty = tty1 ] && echo --noclear) $tty linux
+exec setsid agetty $([ $tty = tty1 ] && echo --noclear) $tty linux
diff --git a/services/agetty-ttyS0/run b/services/agetty-ttyS0/run
index 0f60e37..5a129b2 100755
--- a/services/agetty-ttyS0/run
+++ b/services/agetty-ttyS0/run
@@ -1,3 +1,3 @@
 #!/bin/sh
 tty=${PWD##*-}
-exec setsid /sbin/agetty -8 -s 9600 --noclear $tty linux
+exec setsid agetty -8 -s 9600 --noclear $tty linux
diff --git a/services/alsa/run b/services/alsa/run
index 070eb22..728c4c8 100755
--- a/services/alsa/run
+++ b/services/alsa/run
@@ -1,4 +1,4 @@
 #!/bin/sh
 set -e
-/usr/sbin/alsactl restore
+alsactl restore
 exec chpst -b alsa pause
diff --git a/services/apache/run b/services/apache/run
index cad6e14..3d8def1 100644..100755
--- a/services/apache/run
+++ b/services/apache/run
@@ -1,2 +1,2 @@
 #!/bin/sh
-exec /usr/sbin/httpd -DNO_DETACH
+exec httpd -DNO_DETACH
diff --git a/services/cntlm/run b/services/cntlm/run
index e794878..b1e4589 100755
--- a/services/cntlm/run
+++ b/services/cntlm/run
@@ -1,2 +1,2 @@
 #!/bin/sh
-exec /usr/bin/cntlm -f 2>&1
+exec cntlm -f 2>&1
diff --git a/services/connman/run b/services/connman/run
index f6989f7..accfc76 100755
--- a/services/connman/run
+++ b/services/connman/run
@@ -1,2 +1,2 @@
 #!/bin/sh
-exec /usr/sbin/connmand -n
+exec connmand -n
diff --git a/services/cups/run b/services/cups/run
index 9d5fc08..568bee1 100755
--- a/services/cups/run
+++ b/services/cups/run
@@ -1,2 +1,2 @@
 #!/bin/sh
-exec /usr/sbin/cupsd -f
+exec cupsd -f
diff --git a/services/docker/run b/services/docker/run
index ec858ac..71105ca 100755
--- a/services/docker/run
+++ b/services/docker/run
@@ -1,2 +1,2 @@
 #!/bin/sh
-exec chpst -o 1048576 -p 1048576 /usr/bin/docker -d 2>/dev/null
+exec chpst -o 1048576 -p 1048576 docker -d 2>/dev/null
diff --git a/services/dropbear/run b/services/dropbear/run
index f639771..41777b9 100755
--- a/services/dropbear/run
+++ b/services/dropbear/run
@@ -1,2 +1,2 @@
 #!/bin/sh
-exec /usr/bin/dropbear -F -R
+exec dropbear -F -R
diff --git a/services/kdm/run b/services/kdm/run
index ace68e7..bc7f3db 100755
--- a/services/kdm/run
+++ b/services/kdm/run
@@ -1,2 +1,2 @@
 #!/bin/sh
-exec /usr/bin/kdm -nodaemon
+exec kdm -nodaemon
diff --git a/services/lighttpd/run b/services/lighttpd/run
index 936152b..b1d0bb0 100644..100755
--- a/services/lighttpd/run
+++ b/services/lighttpd/run
@@ -1,2 +1,2 @@
 #!/bin/sh
-exec /usr/sbin/lighttpd-angel -D -f /etc/lighttpd/lighttpd.conf
+exec lighttpd-angel -D -f /etc/lighttpd/lighttpd.conf
diff --git a/services/lxdm/run b/services/lxdm/run
index 14a87b7..f25827c 100755
--- a/services/lxdm/run
+++ b/services/lxdm/run
@@ -1,2 +1,2 @@
 #!/bin/sh
-exec /usr/sbin/lxdm
+exec lxdm
diff --git a/services/mpd/run b/services/mpd/run
index 5045420..bde3c86 100755
--- a/services/mpd/run
+++ b/services/mpd/run
@@ -1,3 +1,3 @@
 #!/bin/sh
 install -d -m 0755 -o mpd -g mpd /run/mpd
-exec /usr/bin/mpd --no-daemon
+exec mpd --no-daemon
diff --git a/services/redis/run b/services/redis/run
index 3c9ce56..894f6fa 100755
--- a/services/redis/run
+++ b/services/redis/run
@@ -1,2 +1,2 @@
 #!/bin/sh
-exec /usr/bin/redis-server /etc/redis/redis.conf
+exec redis-server /etc/redis/redis.conf
diff --git a/services/slim/run b/services/slim/run
index 99c4242..765580b 100755
--- a/services/slim/run
+++ b/services/slim/run
@@ -1,2 +1,2 @@
 #!/bin/sh
-exec /usr/bin/slim -nodaemon
+exec slim -nodaemon
diff --git a/services/sshd/run b/services/sshd/run
index 2af79da..6bac43d 100755
--- a/services/sshd/run
+++ b/services/sshd/run
@@ -1,3 +1,3 @@
 #!/bin/sh
-/usr/bin/ssh-keygen -A # Will generate host keys if they don't already exist
-exec /usr/sbin/sshd -D
+ssh-keygen -A # Will generate host keys if they don't already exist
+exec sshd -D
diff --git a/services/sulogin/run b/services/sulogin/run
index f9db040..98837b8 100755
--- a/services/sulogin/run
+++ b/services/sulogin/run
@@ -1,2 +1,2 @@
 #!/bin/sh
-exec setsid /sbin/sulogin -p </dev/tty1 >/dev/tty1 2>&1
+exec setsid sulogin -p </dev/tty1 >/dev/tty1 2>&1
diff --git a/services/transmission-daemon/run b/services/transmission-daemon/run
index a16385c..07e3935 100755
--- a/services/transmission-daemon/run
+++ b/services/transmission-daemon/run
@@ -1,2 +1,2 @@
 #!/bin/sh
-exec chpst -u transmission:transmission /usr/bin/transmission-daemon -f --log-error
+exec chpst -u transmission:transmission transmission-daemon -f --log-error
diff --git a/services/upsd/run b/services/upsd/run
index 78a4dca..0d0dce0 100755
--- a/services/upsd/run
+++ b/services/upsd/run
@@ -1,4 +1,4 @@
 #!/bin/sh
 # Network UPS Tools - information server
 # upsmon will run in the foreground and prints information on stdout
-exec /usr/bin/upsd -D
+exec upsd -D
diff --git a/services/upsdrvctl/run b/services/upsdrvctl/run
index d713277..e7c42e0 100755
--- a/services/upsdrvctl/run
+++ b/services/upsdrvctl/run
@@ -1,3 +1,3 @@
 #!/bin/sh
 # Network UPS Tools - driver controller
-exec /usr/bin/upsdrvctl -D start
+exec upsdrvctl -D start
diff --git a/services/upsmon/run b/services/upsmon/run
index 6cad953..714030c 100755
--- a/services/upsmon/run
+++ b/services/upsmon/run
@@ -1,4 +1,4 @@
 #!/bin/sh
 # Network UPS Tools - monitor and shutdown controller
 # upsmon will run in the foreground and prints information on stdout
-exec /usr/bin/upsmon -D
+exec upsmon -D
diff --git a/services/wicd/run b/services/wicd/run
index 8c5ceb1..813cd95 100755
--- a/services/wicd/run
+++ b/services/wicd/run
@@ -1,3 +1,3 @@
 #!/bin/sh
 sv check dbus >/dev/null || exit 1
-exec /usr/sbin/wicd --no-daemon
+exec wicd --no-daemon
diff --git a/services/xinetd/run b/services/xinetd/run
index c3ecead..6ecb920 100755
--- a/services/xinetd/run
+++ b/services/xinetd/run
@@ -1,2 +1,2 @@
 #!/bin/sh
-exec /usr/sbin/xinetd -dontfork
+exec xinetd -dontfork