[Bug 205441] Suggestions for net-p2p/sonarr port
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Dec 19 22:10:52 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205441
Bug ID: 205441
Summary: Suggestions for net-p2p/sonarr port
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: feld at FreeBSD.org
Reporter: joshruehlig at gmail.com
Flags: maintainer-feedback?(feld at FreeBSD.org)
Assignee: feld at FreeBSD.org
Created attachment 164395
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=164395&action=edit
Diff for the rc.d file
Here are some suggested changes for the net-p2p/sonarr port. I also included a
diff.
Thanks
1) Allow sonarr's daemon user be an rc.conf option. This allows users to more
easily run sonarr as a different user for interaction with other programs, for
example transmission or sabnzbd.
This also allows running the daemon process as this user without having to set
it in 'command_args'.
2) Allow sonarr's data-directory to be an rc.conf option, and default this to
/var/db/sonarr.
>From the reference I believe PREFIX should only be for port installed files
(bin/lib/share...) and configurations (etc). I personally always put metadata
directories (files the program is managing) in /var/db/PORTNAME. This is the
case with the plexmediaserver, emby-server, syncthing, and btsync ports.
https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/install.html
3) Use the pidfile the sonarr program creates and manages. I don't see a need
to have the daemon program create another one when the program does this
already.
4) Use LOCALBASE instead of PREFIX for called dependencies. I was told this is
the best way to do this for the emby-server port, not sure why.
5) Set XDG_CONFIG_HOME to a directory the sonarr user can write to. If this
isn't set it will try to write to .mono in its home directory (which doesn't
exist) and will experience application lockups.
https://forums.freenas.org/index.php?threads/sonarr-plugin-gui-update-issues.27711/
https://forums.sonarr.tv/t/gui-update-issues/4195
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list