User Tools

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
services:audiobookshelf [2024/03/26 20:02] willyservices:audiobookshelf [2024/08/06 13:21] (current) – [Installation] willy
Line 43: Line 43:
  
 And then pull the images: And then pull the images:
-<code bash+<code bash>
 su - audiobookshelf su - audiobookshelf
 podman compose pull podman compose pull
Line 53: Line 53:
  
 This is my recomended one for NGINX: This is my recomended one for NGINX:
-<file - audiobookshelf.conf+<file - audiobookshelf.conf>
 server { server {
         server_name podcast.gardiol.org;         server_name podcast.gardiol.org;
Line 83: Line 83:
 ===== Autostart ===== ===== Autostart =====
  
-To start it, and set it up on boot, as usual add the following lines to your **/etc/local.d/80-containers.start**:+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> <code>
-su audiobookshelf -c "podman compose up -d"+ln -s /etc/init.d/user-containers /etc/init.d/user-containers.audiobookshelf
 </code> </code>
  
-and to the **/etc/local.d/80-containers.stop**+and create the following config file: 
-<code> +<file - /etc/conf.d/user-containers.audiobookshelf> 
-su - audiobookshelf -c "podman compose down"+USER=audiobookshelf 
 +DESCRIPTION="The audiobooks and podcast server" 
 +</file> 
 + 
 +Add the service to the default runlevel and start it now
 +<code bash
 +rc-update add user-containers.audiobookshelf default 
 +rc-service user-containers.audiobookshelf start 
 +</code> 
 + 
 +===== Upgrade ===== 
 + 
 +Since it's using pdoman, stop the service then, as user **audiobookshelf**, run: 
 +<code bash> 
 +podman compose pull
 </code> </code>
  
-You can start it now by running the above command in the start file.+and restart the service.

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