I have some questions and small things I noticed:
- In the sickrage howto you mixed sysvinit and systemd:
sudo systemctl stop sickrage
- Concerning ownership and permissions:
Now this is still a difficult issue for me but I guess I understood the basics.
Setting everything up myself on my current system, I created a new group called dlgrp and added all important users to it. You take osmc, ok. I think kodi also should be member of group osmc because there may be files created that aren’t readable for others (i.ex. kodi user). Btw.: is kodi service called mediacenter on osmc? Can someone confirm that? So are there also the user mediacenter and group?
I also changed the program’s .serivce file:
This way, if a program creates a folder or a file it’s always created with osmc as group.
Moving on to the file and folder permissions: I think it’s already stated somewhere in the comments of this thread that you can change the permissions of the files and folders created by sickrage, couchpotato in their settings somewhere (I don’t recall exact location, I think in sickrage it’s in the general settings tab) I would suggest to set them so created files and folders are read and writeable to all members of group osmc. I think right number is 775…
Can you explain, why you took a unrar package for bananapi? At least the weburl suggests so:
sudo wget http://sourceforge.net/projects/bananapi/files/unrar_5.2.6-1_armhf.deb
sudo apt-get install unrar do the trick? - The reason I ask is because it would be nice to keep your howto and scripts as universal as possible. Brings me to the next small thing: At the end of installation script echo echo “webgui raspberry_ip:8081” maybe write your_ip:8081.
Ok, these are just suggestions -of course. Based on my personal experience being a linux noob. So if especially the suggestions about permissions and ownership are questionable or simply wrong I ask anyone reading this and being more experienced than me to correct me.
@nenad maybe you could change your howto and scripts accordingly.
PS: If you would add installation and configuration of nzbget and nzbtomedia this would be the ultimate script of all time