Compare commits
2 commits
12e7b5a250
...
35b52a310d
Author | SHA1 | Date | |
---|---|---|---|
|
35b52a310d | ||
|
5648cf2f7d |
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue