Post Reply 
profile from startd
15-02-2022, 20:54
Post: #11
RE: profile from startd
oh, there are no more selinux errors and I even turned selinux off to ensure that my opinion was getting in the way.
Find all posts by this user
Quote this message in a reply
15-02-2022, 22:32
Post: #12
RE: profile from startd
I installed MinimServer in /home/xxxx while logged in as user xxxx.

I used minimserver/bin/setup to create the service while logged in as user xxxx. This produces the following service file /usr/lib/systemd/system/minimserver.service:

[Unit]
Description=MinimServer
After=multi-user.target

[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/bin/su "xxxx" -c "/home/xxxx/minimserver/bin/startd init"
ExecStop=/home/xxxx/minimserver/bin/stopall

[Install]
WantedBy=multi-user.target


The minimserver/bin/setup script also runs these commands to enable the service:

systemctl daemon-reload
systemctl enable minimserver.service


The directory /home/xxxx/minimserver/data contains a default.profile file and a minimserver.config file. Both these files contain the correct contentDir setting. This setting was created by starting MinimServer manually and using the Properties dialog.

That's all. Boot the machine and MinimServer starts with the correct contentDir setting and no errors. This is on Fedora 35.
Find all posts by this user
Quote this message in a reply
16-02-2022, 14:39
Post: #13
RE: profile from startd
place the startd execution in @reboot of cron and add a delay of 30 seconds (arbitrary, excess wait time, not issue when server boots in night).
So, I think default profile is being used [let me know if I'm wrong] when startd is starting and it's just the bloody share on which my media library mounts that is delayed. this delay its too long for the demon and it won't reset itself after startup. hope this makes sense..
Find all posts by this user
Quote this message in a reply
16-02-2022, 15:18
Post: #14
RE: profile from startd
Yes, a delayed mount could cause this problem. MinimServer provides a property delayStart to work around this issue (see this section).
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: