feat: update mount.sh

This commit is contained in:
Jamie Albert
2025-11-11 03:11:18 +00:00
parent d66810e64b
commit 828df26102
3 changed files with 191 additions and 28 deletions

View File

@@ -1,5 +1,5 @@
[Unit]
Description=dao: rclone mount
Description=dao: automatic mounter (boot)
After=network-online.target
Wants=network-online.target
@@ -10,4 +10,4 @@ Restart=on-failure
RestartSec=10
[Install]
WantedBy=default.target
WantedBy=default.target

View File

@@ -0,0 +1,14 @@
[Unit]
Description=dao: automatic mounter (resume)
After=suspend.target
After=hibernate.target
After=sleep.target
[Service]
Type=simple
ExecStart=bash /usr/local/bin/dao.sh mount
Restart=on-failure
RestartSec=10
[Install]
WantedBy=default.target