Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow ttrssd to run as a specified user (take two) #306

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Commits on Oct 1, 2024

  1. Update ttrssd.in - allow ttrssd to run as a specified user

    ttrssd (from www/tt-rss) currently runs as the user "www", and there doesn't seem to be a way to override that. This change adds an optional flag that can be specified in /etc/rc.conf to do so.
    
    The flag is "ttrssd_run_as_user"; for example to run as the user "mmm", add the following line to /etc/rc.conf:
    
    ttrssd_run_as_user="mmm"
    
    If it is not specified, it defaults to "www" (reproducing the behavior from before this change).
    rwv37 authored Oct 1, 2024
    Configuration menu
    Copy the full SHA
    c16c693 View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2024

  1. Merge pull request #1 from rwv37/2024-10-01-www_tt-rss-RunAsUser

    Update ttrssd.in - allow ttrssd to run as a specified user
    rwv37 authored Oct 3, 2024
    Configuration menu
    Copy the full SHA
    4c60d53 View commit details
    Browse the repository at this point in the history
  2. Allow any user to read/execute ttrssd update scripts

    Part of a change to allow ttrssd to run as a specified user rather than always as ``www`` - ``chmod`` the ``update*.php`` files at install time rather than relying on the user to do it manually (in which case it would be overwritten upon reinstall or update).
    
    This part of the change was suggested by @derekschrock in response to [my earlier PR](freebsd#304).
    rwv37 authored Oct 3, 2024
    Configuration menu
    Copy the full SHA
    5322865 View commit details
    Browse the repository at this point in the history