[SOLVED] How to run the psd service in s6? 02 February 2022, 16:21:45 Installed Profile-sync-daemon in systemd service starts like this systemctl --user [option] psd.serviceTrying to run it on s6 gave me an errorsudo s6-rc -u change /usr/bin/psd s6-rc: fatal: /usr/bin/psd is not a recognized identifier in /run/s6-rc/state/resolve.cdbWhen running postgresql the same way, probably doing something wrong.sudo s6-rc -u change postgresql s6-rc: fatal: postgresql is not a recognized identifier in /run/s6-rc/state/resolve.cdbhttps://wiki.artixlinux.org/Main/S6 read, but understanding how this thing works never came. Please forgive me, I used a translator to create this post.Translated with www.DeepL.com/Translator (free version) Last Edit: 02 February 2022, 21:07:29 by nous
Re: How to run the psd service in s6? Reply #1 – 02 February 2022, 18:01:39 You need to also install postgresql-s6 to get the s6 service scripts. As for profile-sync-daemon, there are no init scripts in Artix for it at the moment. I'm not sure how dependent profile-sync-daemon is on systemd so that may not be feasible to support.
Re: How to run the psd service in s6? Reply #2 – 02 February 2022, 18:23:17 It's very dependent. I used to use an older version, which supported openrc (pre-6).
Re: How to run the psd service in s6? Reply #3 – 02 February 2022, 18:39:42 What is there for our OS of this kind of program?How can I shove a browser profile into RAM?
Re: How to run the psd service in s6? Reply #4 – 02 February 2022, 19:17:14 Example: https://wiki.archlinux.org/title/Firefox/Profile_on_RAMI don't keep the profile in RAM, only the cache:Code: [Select]% grep cache /etc/fstabtmpfs /home/nous/.cache/mozilla tmpfs noatime,nodev,nosuid,size=400M 0 0tmpfs /home/nous/.cache/palemoon tmpfs noatime,nodev,nosuid,size=400M 0 0tmpfs /home/nous/.cache/chromium tmpfs noatime,nodev,nosuid,size=400M 0 0The nice thing is that RAM in tmpfs is only consumed when used. 1 Likes
Re: How to run the psd service in s6? Reply #5 – 02 February 2022, 19:27:48 I do not know much about the mechanics, if enough just send the cache to the RAM, why such complex mechanisms with services and additional programs?
Re: How to run the psd service in s6? Reply #6 – 02 February 2022, 19:55:31 It's almost like spending 35 minutes compiling your kernel with --funroll-all-loops -march=native in order to gain 42 nanoseconds in a task that takes 280 seconds to finish. Almost.Humour aside, it supposedly reduces the wear of SSDs from frequent write operations. 1 Likes
Re: How to run the psd service in s6? Reply #7 – 02 February 2022, 20:25:39 Pages do load faster.And yes the main reason ssd wear and tear, the laptop has a broken port m.2 works on its built-in memory 32gb can not change the ssd, and uses 80% of surfing the internet.Thank you very much for your answers, the topic can be considered closed. One more question though, I have s6 now, does it make sense to reinstall the system on openrc?
Re: How to run the psd service in s6? Reply #8 – 02 February 2022, 21:07:12 The init system will only affect its administration, not the desktop experience. (famous last words) 1 Likes
Re: [SOLVED] How to run the psd service in s6? Reply #9 – 03 February 2022, 06:13:42 That's what I meant, will it make system administration easier? Are there more packages written for openrc than for s6?
Re: [SOLVED] How to run the psd service in s6? Reply #10 – 03 February 2022, 07:12:38 Quote from: BPOH – on 03 February 2022, 06:13:42That's what I meant, will it make system administration easier? Are there more packages written for openrc than for s6?What's easier entirely depends on how you feel about it.The only packages which are init-dependant are service packages and, of course, init packages themselves. Other software is not init-dependant. All supported services are maintained for all supported inits. slim-runit is the only exception having no equivalent packages for other inits that is known to me so far. 1 Likes