Rclone: Difference between revisions
m Category:CLI Applications added |
Use proper path to mkdir and fusermount |
||
Line 54: | Line 54: | ||
Service = { | Service = { | ||
Type = "notify"; | Type = "notify"; | ||
ExecStartPre = " | ExecStartPre = "${pkgs.coreutils}/bin/mkdir -p %h/Example Sync Dir"; | ||
ExecStart = "${pkgs.rclone}/bin/rclone --config=%h/.config/rclone/example.conf --vfs-cache-mode writes --ignore-checksum mount \"fichier:\" \"Example Sync Dir\""; | ExecStart = "${pkgs.rclone}/bin/rclone --config=%h/.config/rclone/example.conf --vfs-cache-mode writes --ignore-checksum mount \"fichier:\" \"%h/Example Sync Dir\""; | ||
ExecStop="/bin/fusermount -u %h/Example Sync Dir/%i"; | ExecStop="/run/wrappers/bin/fusermount -u %h/Example Sync Dir/%i"; | ||
}; | }; | ||
Install.WantedBy = [ "default.target" ]; | Install.WantedBy = [ "default.target" ]; |