3 fdbb3c73 2025-06-03 xs service_gotd() {
4 fdbb3c73 2025-06-03 xs node gotd.conf &&
5 fdbb3c73 2025-06-03 xs nodeinstall -m 644 -o root:wheel gotd.conf /etc &&
7 fdbb3c73 2025-06-03 xs rcctl enable gotwebd &&
8 fdbb3c73 2025-06-03 xs rcctl restart gotwebd
11 fdbb3c73 2025-06-03 xs service_gotwebd() {
12 fdbb3c73 2025-06-03 xs node gotwebd.conf &&
13 fdbb3c73 2025-06-03 xs mkdir -p /var/www/got/public &&
14 fdbb3c73 2025-06-03 xs chown www:www /var/www/got/public &&
15 fdbb3c73 2025-06-03 xs nodeinstall -m 644 -o root:wheel gotwebd.conf /etc &&
17 fdbb3c73 2025-06-03 xs rcctl enable gotwebd &&
18 fdbb3c73 2025-06-03 xs rcctl restart gotwebd
21 fdbb3c73 2025-06-03 xs service_gotd_user_anonymous() {
22 fdbb3c73 2025-06-03 xs useradd -md /home/anonymous -u 1200 -s /usr/local/bin/gotsh anonymous 2>/dev/null || :