Created a script in /init.d called “seafile-server” using https://manual.seafile.com/deploy/start_seafile_at_system_bootup.html as a template.
sudo -u seafile ./seafile.sh -> seafile is started
sudo -u seafile ./seahub.sh -> seahub is NOT started
after boot, logging in with user seafile & starting seahub.sh works fine!
It is necessary to use sudo (path)/seahub.sh in order for seahub to start with boot.
Can I leave it at this or is it a concern for security if seahub runs with root ?