Обновить hestiacp_install
This commit is contained in:
parent
e612f84687
commit
e624f6cd61
@ -27,9 +27,22 @@ save file and exit
|
||||
# systemctl restart ssh
|
||||
|
||||
# mkdir /mnt/FOTOSVID && chown admin:admin /mnt/FOTOSVID
|
||||
# echo "//10.77.1.250/fotosvid /mnt/FOTOSVID cifs vers=3.0,username=fotosvid,password=$PASSWORD,gid=1001,uid=1001,iocharset=utf8,rw,file_mode=0644,dir_mode=0755 0 0" >> /etc/fstab
|
||||
# mount -a
|
||||
# echo "[Unit]
|
||||
Description=Mount SMB share
|
||||
After=network.target
|
||||
Wants=network.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStartPre=sleep 15
|
||||
ExecStart=/bin/mount -t cifs //10.77.1.250/FOTOSVID /mnt/FOTOSVID -o username=fotosvid,password=$PASSWORD,rw,file_mode=0666,dir_mode=0777
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
" > /etc/systemd/system/mnt-fotosvid.service
|
||||
|
||||
# systemctl daemon-reload
|
||||
# systemctl enable mnt-fotosvid.service && systemctl start mnt-fotosvid.service
|
||||
|
||||
adding hestia template for RFCLASS.RU and EIS.RFCLASS.RU:
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user