Compare commits

...

2 commits

Author SHA1 Message Date
Minecon724
35b52a310d fdd 2023-11-05 18:02:40 +01:00
Minecon724
5648cf2f7d xd 2023-11-05 18:02:25 +01:00

View file

@ -5,7 +5,7 @@ fi
if [ ! -f /root/.ssh/id_rsa.pub ]; then if [ ! -f /root/.ssh/id_rsa.pub ]; then
echo no ssh key, generate: rsa without password echo no ssh key, generate: rsa without password
exit 1 ssh-keygen
fi fi
echo echo
@ -23,6 +23,7 @@ cp -n rclone.conf /root/.config/rclone/rclone.conf
cp nman.service /etc/systemd/system/ cp nman.service /etc/systemd/system/
cp nman.timer /etc/systemd/system/ cp nman.timer /etc/systemd/system/
cp mnt-files.mount /etc/systemd/system/ cp mnt-files.mount /etc/systemd/system/
cp var-www-html.mount /etc/systemd/system/
cp nman /etc/default/ cp nman /etc/default/
cp nman.py /opt/ cp nman.py /opt/
cp nman.sh /opt/ cp nman.sh /opt/
@ -36,6 +37,8 @@ mkdir /etc/nginx
mkdir -p /var/www/html mkdir -p /var/www/html
mkdir -p /opt/cache/var-www-html mkdir -p /opt/cache/var-www-html
ln -s /usr/bin/rclone /sbin/mount.rclone
systemctl daemon-reload systemctl daemon-reload
systemctl enable --now mnt-files.mount systemctl enable --now mnt-files.mount