Register actual container as systemd service
This service is scoped to the user only but ensures that the container is started on system boot.
This commit is contained in:
parent
6a2c50686b
commit
462e202737
4 changed files with 49 additions and 21 deletions
|
|
@ -88,6 +88,10 @@
|
|||
# Add Snapcraft to $PATH
|
||||
export PATH=$PATH:/snap/bin
|
||||
|
||||
# Set XDG_RUNTIME_DIR variable necessary for running systemctl as user
|
||||
# See: https://superuser.com/questions/1561076/systemctl-user-failed-to-connect-to-bus-no-such-file-or-directory-debian-9#answers-header
|
||||
export XDG_RUNTIME_DIR=/run/user/$(id -u $otherUser)
|
||||
|
||||
# Starship
|
||||
eval "$(starship init zsh)"
|
||||
- name: Change the default shell of the current user
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue