Uploaded image for project: 'Funtoo Linux'
  1. Funtoo Linux
  2. FL-10641

[core-server-kit] Update Caddy autogen to include default OpenRC and Caddyfile configs

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Normal Normal
    • None
    • None

      In my Funtoo RPi arm64 home lab I leverage the Caddy web server for my binpkg server. The current autogen does not contain a default OpenRC init script or a basic default Caddyfile. So users who want to run Caddy need these additional configs. This is a improvement request to add these files so caddy is more Funtoo friendly.

      The files current in the www-servers/caddy autogen:

       
       equery f www-servers/caddy
       * Searching for caddy in www-servers ...
       * Contents of www-servers/caddy-2.6.2:
      /usr
      /usr/bin
      /usr/bin/caddy
      /usr/share
      /usr/share/doc
      /usr/share/doc/caddy-2.6.2
      /usr/share/doc/caddy-2.6.2/README.md.bz2
      

      I have actually already written these files and am using them in my Funtoo RPi home lab for awhile now without issue. Here they are:

      • Caddy OpenRC init script to install at /etc/init.d/caddy: caddy
      • Barebones default Caddy file to install at /etc/caddy/Caddyfile: Caddyfile

        1. caddy
          0.6 kB
        2. caddy_conf.d
          0.1 kB
        3. Caddyfile
          0.1 kB

            siris siris
            siris siris
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: