Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
services:firefox [2024/04/19 06:44] – willy | services:firefox [2024/11/11 11:49] (current) – willy | ||
---|---|---|---|
Line 29: | Line 29: | ||
- " | - " | ||
volumes: | volumes: | ||
- | - "/user/appdata/ | + | - "/home/user/ |
</ | </ | ||
Line 56: | Line 56: | ||
==== Autostart ==== | ==== Autostart ==== | ||
- | Autostarting at boot might be trickier, i suggest you take a look at [[gentoo:locald|Custom User Services]] and create the links: | + | To start it, and set it up on boot, as usual follow my indications |
+ | < | ||
+ | ln -s / | ||
+ | </ | ||
+ | |||
+ | and create the following config file: | ||
+ | <file - / | ||
+ | USER=user | ||
+ | DESCRIPTION=" | ||
+ | </ | ||
+ | |||
+ | Add the service to the default runlevel and start it now: | ||
<code bash> | <code bash> | ||
- | cd / | + | rc-update add user-containers.firefox default |
- | ln -s _services.sh 80-firefox-user-podman.start | + | rc-service |
- | ln -s _services.sh 80-firefox-user-podman.stop | + | |
</ | </ | ||
+ | |||
+ | Of course, you will want to adapt for multiple users, maybe. | ||