LL_Runit_Scripts/shepherd/shepherd-init

8 lines
178 B
Bash
Executable file

#!/bin/sh
SOCKET=/var/run/shepherd/socket
mount -o remount,rw /
rm $SOCKET
mkdir /dev/shm
chmod 1777 /dev/shm
swapon /swapfile
exec shepherd --config=/usr/local/etc/shepherd.scm