graysky2 / profile-sync-daemon

Symlinks and syncs browser profile dirs to RAM thus reducing HDD/SDD calls and speeding-up browsers.
https://wiki.archlinux.org/index.php/Profile-sync-daemon
Other
910 stars 88 forks source link

profiles not created on start-up #59

Closed rikow closed 10 years ago

rikow commented 10 years ago

Hi there,

i recently switched my LMDE to use systemd for startup. Install profile-sync from the source, the psd.service is started automatically (status is active) however the profiles are not copied to /dev/shm. After I'm logged in, I have to restart psd.service from the terminal and then all is OK. Any hint what could be the problem. I suspect a timing issue, since the system boots very fast and has only a SSD installed. May, the directories are just not available yet, even though /home is required to be mounted by the service file.

I'm by no means a systemd expert so I'm pretty much fishing in the dark.

Thanks and cheers, Riko

graysky2 commented 10 years ago

So the service is started but nothing got sync'ed? Did you enable both psd and psd-resync in systemd? Post the output of psd p

rikow commented 10 years ago

Seems like systemd uses different permissions on /dev/shm by default than the original init system. So after I added an entry for /dev/shm with permissions 1777 as required by psd it creates the directories correctly.

Thanks!

PS: both psd and psd-resync are running.