pihanepi/orchestrating/README.org

660 B

ROOT SERVICES

  • <service>.sh
    to be symlinked to
    /etc/init.d/podman-containers

USER SERVICES AND RUNLEVELS

  • .config
    folder to be symlinked to
    ~

XDG_RUNTIME_DIR AND RUNLEVEL SETUP

  • .profile
    to be symlinked to srch_shell{home/$USER.profile}

RUN USERS SERVICES ON BOOT

  • Symlink
    /etc/init.d/user
    to
    /etc/init.d/user.$usernames
    . After add, add the latter service with
    rc-update
    as root.

IF <USER> HAS PASSWORD

Add the following to a new file in

/etc/doas.d/
:

permit nopass <user> as <user>
permit nopass root as <user>