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
899 stars 84 forks source link

Compatibility with opendoas #296

Closed ZaheenJ closed 3 years ago

ZaheenJ commented 3 years ago

Right now, this is only compatible with sudo, but it isn't to hard to get it to work with opendoas. I just quickly fixed it by replacing sudo with doas in /usr/bin/psd and /usr/bin/psd-overlay-helper and getting rid of the -k option which doesn't exist for doas. There is a similar option -L but it would have to be executed separately as in executing the command with doas and then calling doas -L. I could imagine there being an option in psd.conf where you could choose to use doas or not and then just have both the files run doas instead of sudo as I described above but I do not have the skills to implement that.

ZaheenJ commented 3 years ago

It did not actually work as smoothly as I thought it would, at least after a reboot. I am now just using this script but will leave the issue open for other people.

gbaranski commented 3 years ago

same issue, why it is closed?

graysky2 commented 3 years ago

I have no knowledge about freebsd ports nor time to port this over.