8 lines
178 B
Bash
Executable file
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
|