testing
This commit is contained in:
1
debian/debian-configure-wrestic.sh
vendored
1
debian/debian-configure-wrestic.sh
vendored
@@ -13,6 +13,7 @@ mkdir -pv /home/akanealw/restic/restore
|
|||||||
mkdir /root/restic/restore
|
mkdir /root/restic/restore
|
||||||
wget -O /usr/local/bin/wrestic http://192.168.1.50/files/wrestic/wrestic
|
wget -O /usr/local/bin/wrestic http://192.168.1.50/files/wrestic/wrestic
|
||||||
wget -O /home/akanealw/.config/wrestic/wrestic.toml http://192.168.1.50/files/wrestic/wrestic.toml
|
wget -O /home/akanealw/.config/wrestic/wrestic.toml http://192.168.1.50/files/wrestic/wrestic.toml
|
||||||
|
sed -i "s/changeme/$HOSTNAME/g" /home/akanealw/.config/wrestic/wrestic.toml
|
||||||
chown -R akanealw:akanealw /home/akanealw/.config
|
chown -R akanealw:akanealw /home/akanealw/.config
|
||||||
chown -R akanealw:akanealw /home/akanealw/restic
|
chown -R akanealw:akanealw /home/akanealw/restic
|
||||||
chmod +x /usr/local/bin/wrestic
|
chmod +x /usr/local/bin/wrestic
|
||||||
|
|||||||
Reference in New Issue
Block a user