Post Reply 
profile from startd
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
Post Reply 


Messages In This Thread
profile from startd - rychieallen - 15-02-2022, 16:42
RE: profile from startd - rychieallen - 15-02-2022, 16:53
RE: profile from startd - rychieallen - 15-02-2022, 16:57
RE: profile from startd - rychieallen - 15-02-2022, 17:03
RE: profile from startd - rychieallen - 15-02-2022, 17:20
RE: profile from startd - rychieallen - 15-02-2022, 17:56
RE: profile from startd - rychieallen - 15-02-2022, 18:05
RE: profile from startd - rychieallen - 15-02-2022, 18:09
RE: profile from startd - simoncn - 15-02-2022, 18:45
RE: profile from startd - rychieallen - 15-02-2022, 20:53
RE: profile from startd - rychieallen - 15-02-2022, 20:54
RE: profile from startd - simoncn - 15-02-2022 22:32
RE: profile from startd - rychieallen - 16-02-2022, 14:39
RE: profile from startd - simoncn - 16-02-2022, 15:18

Forum Jump:


User(s) browsing this thread: 1 Guest(s)