feat: update mount.sh
This commit is contained in:
@@ -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
|
||||
14
cradle/home/.local/share/systemd/user/dao_am_resume.service
Normal file
14
cradle/home/.local/share/systemd/user/dao_am_resume.service
Normal 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
|
||||
Reference in New Issue
Block a user