updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / swapd / swapd.runit
blob488d05924faaf18526af5cda1022eb9785da8d1e
1 #!/bin/bash
3 # source application-specific settings
5 . /etc/rc.conf
6 . /etc/rc.d/functions
8 PID=`pidof -o %PPID /usr/sbin/swapd`
9 SVC=swapd
11 if [ -z "$PID" ]
12 then
13 exec /usr/sbin/swapd
14 else
15 [ -z $PID ] || exec watchpid $PID