[SOLVED] Little hand with linux configuration?
Posted: Thu Oct 20, 2022 3:08 pm
Hello guys,
Been using UMS since the days of PS3 Media Server, about 12 years now, never really needed help with anything so far, but now that I may need to swap to linux (pc too old for windows 11), I'm a little bit uncertain on how to proceed. I'm currently messing around a virtual box machine, just to see how it goes, and I found a guide for ubuntu daemon configuration that kinda worked on openSuSE (my distro of choice) but I can't figure out how to specify the folder I want to share, the daemon just shares my whole /home folder.
Here's the basic config I found online:
Now, on my code the only thing I changed was the user name and it works, however I can't specify the one folder I actually want to share. I was wondering if there is a template similar to this, maybe with extra options, allowing me to specify the folder instead of sharing everything. It's important to mention that doing it like this it runs as a background process, I don't have a GUI to work with, if I run the UMS.sh directly than I do get to choose the folder, but different from my windows machine the choice isn't permanent, and in this way it does not start with then system, not sure why.
I'm uncertain if I'm posting this in the right place, like I said never really needed support, I would always find answers for my questions in old, already resolved, topics, but I can't quite find an answer for this. Like I said it works already, I just want to limit which folders are being shared.
Been using UMS since the days of PS3 Media Server, about 12 years now, never really needed help with anything so far, but now that I may need to swap to linux (pc too old for windows 11), I'm a little bit uncertain on how to proceed. I'm currently messing around a virtual box machine, just to see how it goes, and I found a guide for ubuntu daemon configuration that kinda worked on openSuSE (my distro of choice) but I can't figure out how to specify the folder I want to share, the daemon just shares my whole /home folder.
Here's the basic config I found online:
Code: Select all
[Unit]
Description=Run UMS as tecmint
DefaultDependencies=no
After=network.target
[Service]
Type=simple
User=tecmint
Group=tecmint
ExecStart=/opt/ums/UMS.sh
TimeoutStartSec=0
RemainAfterExit=yes
Environment="UMS_MAX_MEMORY=500M"
[Install]
WantedBy=default.target
I'm uncertain if I'm posting this in the right place, like I said never really needed support, I would always find answers for my questions in old, already resolved, topics, but I can't quite find an answer for this. Like I said it works already, I just want to limit which folders are being shared.