init.sh - selfhost - Incus configurations for my self-hosted setup.
 (HTM) git clone git://jay.scot/selfhost
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
       ---
       init.sh (397B)
       ---
            1 #!/bin/sh
            2 
            3 HOST=jellyfin
            4 
            5 incus stop $HOST
            6 incus delete $HOST
            7 incus launch images:alpine/3.20/cloud $HOST < $HOST.yaml
            8 
            9 incus file push ./files/lighttpd.conf $HOST/etc/lighttpd/ -pv --mode 644
           10 incus file push ./files/jellyfin $HOST/etc/conf.d/ -pv --mode 644
           11 incus exec $HOST -- cloud-init status --wait
           12 incus exec $HOST -- rc-service lighttpd start
           13 incus exec $HOST -- rc-service jellyfin start
           14