You are not logged in.
Pages: 1
Hello !
I'm trying to follow the wiki page to place Firefox's profile to RAM. The "script" part works fine, but I'm not sure about the "automation" part.
I'm trying to create the systemd service as indicated in the wiki, but there's something I don't understand: when exactly will this service be run by systemd? On startup? On login? Each time I open or close Firefox? I think the wiki page lacks information about that... well, I should be able to tell by reading the script, but my skills aren't good enough.
Thanx in advance for any help!
Last edited by LithoUser (2022-02-11 06:40:52)
Offline
If you enabled the service, it starts at every boot, and syncs with the firefox profile on the disc on poweroff.
Offline
Thanks for your answer! Could you tell me which line causes this behavior? Is it the
WantedBy=default.targetinstruction?
Last question: would there be a way to sync each time Firefox opens and close?
Last edited by LithoUser (2022-02-10 18:30:00)
Offline
The wiki lacks explicit information on this because this is standard service behaviour knowledge: https://wiki.archlinux.org/title/Systemd#Targets https://wiki.archlinux.org/title/System … unit_files
Offline
Ah! Great! I wanted to learn more, but didn't know which page of the wiki I should read... Thanx a lot for those links!
So, would there be a way to launch the script each time Firefox opens or closes?
Offline
Thinking a little bit more about it, syncing the profile each time Firefox opens or closes isn't necessary. It would be much more useful to launch the script when a user logs in or out. Now, reading the wiki, I understand it might be the default, so I'm confused: is a standard systemd service launched at boot and poweroff (like cameo said), or when a user logs in and out? Thanx for any help!
Last edited by LithoUser (2022-02-10 20:27:38)
Offline
You have created a user service, not a system service...
https://wiki.archlinux.org/title/Systemd/User
Offline
That's right. Thank you!
Offline
Pages: 1