Created
December 27, 2022 20:24
-
-
Save victor-oliveira1/e7658ae6bdb382d5657217992e2a9cd5 to your computer and use it in GitHub Desktop.
[Lakka][Retroarch] Savefile sync between devices
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Savesync Path Watcher | |
BindsTo=storage-roms-smb.mount | |
[Path] | |
PathChanged=/storage/savefiles/ | |
[Install] | |
WantedBy=storage-roms-smb.mount |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Savesync Service | |
BindsTo=storage-roms-smb.mount | |
[Service] | |
Type=oneshot | |
ExecStart=-/usr/bin/rsync -quav /storage/roms/smb/savefiles/ /storage/savefiles/ | |
ExecStart=-/usr/bin/rsync -quav /storage/savefiles/ /storage/roms/smb/savefiles/ | |
[Install] | |
WantedBy=storage-roms-smb.mount |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment