dolphin sync

This commit is contained in:
Crizomb 2026-01-26 04:22:13 +01:00
parent 76e8d28b43
commit fb77c8e645
3 changed files with 22 additions and 1 deletions

View file

@ -0,0 +1,7 @@
[Unit]
Description=Sync Dolphin folder
[Service]
Type=oneshot
ExecStart=/usr/bin/rsync -av /var/home/clement/.var/app/org.DolphinEmu.dolphin-emu/data/dolphin-emu/ /var/home/clement/Nextcloud/GamesThingsSynced/DolphinThings/dolphin-emu

View file

@ -0,0 +1,10 @@
[Unit]
Description=Run Dolphin sync every hour at :25
[Timer]
OnCalendar=*:25
Persistent=true
[Install]
WantedBy=timers.target

View file

@ -1,10 +1,12 @@
No crontab by default on bluefin atomic distro
No crontab by default on bluefin atomic distro. I do crontab thingies here with systemd.
symlink thingies :
```bash
ln -s ~/dotefiles/systemd_things/eden-sync.service ~/.config/systemd/user/eden-sync.service
ln -s ~/dotefiles/systemd_things/eden-sync.timer ~/.config/systemd/user/eden-sync.timer
ln -s ~/dotefiles/systemd_things/dolphin-sync.service ~/.config/systemd/user/dolphin-sync.service
ln -s ~/dotefiles/systemd_things/dolphin-sync.timer ~/.config/systemd/user/dolphin-sync.timer
```
then :
@ -12,5 +14,7 @@ then :
```bash
systemctl --user daemon-reexec
systemctl --user daemon-reload
systemctl --user enable --now eden-sync.timer
systemctl --user enable --now dolphin-sync.timer
```