init
This commit is contained in:
Executable
+13
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "Running prsync ./sbin"
|
||||
prsync -h "/app/host_vars/hosts" -avz ./sbin/ /4server/sbin/
|
||||
template templates/.profile /home/4server/.profile
|
||||
|
||||
rex doas rc-service api restart
|
||||
|
||||
rex doas rc-service checkCalls restart
|
||||
|
||||
prsync -h "/app/host_vars/hosts" -avz ./host_vars/borg-backup/* /home/4server/.ssh
|
||||
rex doas chown 4server:4server /home/4server/.ssh/borg*
|
||||
rex doas chmod 600 /home/4server/.ssh/borg*
|
||||
Reference in New Issue
Block a user