feat: user container mgmt service + run on boot
This commit is contained in:
parent
1f1568b5fa
commit
c5fff9e6cf
4 changed files with 81 additions and 0 deletions
19
orchestrating/README.org
Normal file
19
orchestrating/README.org
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
#+OPTIONS: toc:nil
|
||||
|
||||
* ROOT SERVICES
|
||||
=<service>.sh= to be symlinked to =/etc/init.d/podman-containers=
|
||||
* USER SERVICES AND RUNLEVELS
|
||||
=.config= folder to be symlinked to =~=
|
||||
* XDG VARIABLES AND RUNNING USER SERVICES ON LOGIN
|
||||
=.profile= to be symlinked to =/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/=:
|
||||
|
||||
#+begin_src shell
|
||||
permit nopass <user> as <user>
|
||||
permit nopass root as <user>
|
||||
#+end_src
|
||||
Loading…
Add table
Add a link
Reference in a new issue