Moved notes to comments
This commit is contained in:
parent
a3d660201a
commit
37c921f6c6
28
startup.bash
28
startup.bash
|
@ -2,22 +2,26 @@
|
||||||
|
|
||||||
|
|
||||||
####
|
####
|
||||||
# Notes
|
# Runtime Config
|
||||||
#
|
|
||||||
# Main jobs
|
# Copy authorized_keys secret to the user's ssh config folder
|
||||||
#
|
# (symlinking will not do, because sshd checks perms of the file tree above the target of the link)
|
||||||
# - Start zeroteir-one
|
install -Dm 600 -o thurstylark -g thurstylark /run/secrets/tl-weechat-authorizedkeys /home/thurstylark/.ssh/authorized_keys
|
||||||
# - Check that it's running and continuing to run
|
|
||||||
# - Start sshd
|
|
||||||
# - Check that it's running and continuing to run
|
|
||||||
# - Start weechat in tmux
|
|
||||||
# - Check that it's running and continuing to run
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
####
|
||||||
|
# Service startup
|
||||||
|
|
||||||
|
# Start zerotier-one in daemon mode
|
||||||
zerotier-one -d
|
zerotier-one -d
|
||||||
|
|
||||||
|
# Start sshd
|
||||||
sshd
|
sshd
|
||||||
|
|
||||||
|
|
||||||
tmux -f ~/.tmux.conf -L tl-weechat new-session -ds tl-weechat weechat
|
|
||||||
|
####
|
||||||
|
# Start weechat within tmux as thurstylark
|
||||||
|
|
||||||
|
runuser -u thurstylark -- tmux -f ~/.tmux.conf -L tl-weechat new-session -ds tl-weechat weechat
|
||||||
|
|
Loading…
Reference in New Issue