User Tools

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
services:firefox [2024/04/19 06:44] willyservices:firefox [2024/11/11 11:49] (current) willy
Line 29: Line 29:
       - "5800:5800"       - "5800:5800"
     volumes:     volumes:
-      - "/user/appdata/firefox:/config:rw"+      - "/home/user/firefox:/config:rw"
 </file> </file>
  
Line 56: Line 56:
 ==== Autostart ==== ==== Autostart ====
  
-Autostarting at boot might be trickieri 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 [[gentoo:containers|Using Containers on Gentoo]], so link the **user-containers** init script: 
 +<code> 
 +ln -s /etc/init.d/user-containers /etc/init.d/user-containers.firefox 
 +</code> 
 + 
 +and create the following config file: 
 +<file - /etc/conf.d/user-containers.firefox> 
 +USER=user 
 +DESCRIPTION="Firefox in a box" 
 +</file> 
 + 
 +Add the service to the default runlevel and start it now:
 <code bash> <code bash>
-cd /etc/local.d +rc-update add user-containers.firefox default 
-ln -s _services.sh 80-firefox-user-podman.start +rc-service user-containers.firefox start
-ln -s _services.sh 80-firefox-user-podman.stop+
 </code> </code>
 +
 +Of course, you will want to adapt for multiple users, maybe.
  
  

This website uses technical cookies only. No information is shared with anybody or used in any way but provide the website in your browser.

More information