Blob
1 #!/bin/sh3 service_gotd() {4 node gotd.conf &&5 nodeinstall -m 644 -o root:wheel gotd.conf /etc &&6 gotd -n &&7 rcctl enable gotwebd &&8 rcctl restart gotwebd9 }11 service_gotwebd() {12 node gotwebd.conf &&13 mkdir -p /var/www/got/public &&14 chown www:www /var/www/got/public &&15 nodeinstall -m 644 -o root:wheel gotwebd.conf /etc &&16 gotwebd -n &&17 rcctl enable gotwebd &&18 rcctl restart gotwebd19 }21 service_gotd_user_anonymous() {22 useradd -md /home/anonymous -u 1200 -s /usr/local/bin/gotsh anonymous 2>/dev/null || :23 }
