1
0
forked from x/ContextOS
ContextOS/etc/conf/rc_local.sh
2023-12-01 23:33:41 +08:00

8 lines
265 B
Bash

#!/bin/sh
# vi /etc/rc.local
# source /home/shy/contexts/etc/conf/rc_local.sh
# source /home/shy/contexts/usr/local/work/20230511-nginx-story/etc/conf/rc_local.sh
CTX_ROOT=${CTX_ROOT:=/home/shy/contexts}
su - shy -c "cd $CTX_ROOT && ./bin/ice.bin forever start &"