I had a problem to make auto run on manager-server. I’ve tried all the options. Also from guide. Any ways are difficult and work not properly. I have Arch based disto - Manjaro linux. So, I’m doing this:
- Extract program archive: /root/user/share/manager-server/ManagerServer
- Paste into terminal:
sudo printf “[Unit]\nAfter=network.target\n\n[Service]\nLimitNOFILE=1048576\nExecStart=/usr/bin/mono /usr/share/manager-server/ManagerServer.exe -port 8080\nRestart=on-failure\nStartLimitInterval=600\n\n[Install]\nWantedBy=multi-user.target” | sudo tee /etc/systemd/system/manager-server.service
- Select ManagerServer.exe in the Autostart (startup)
- Click OK and work
Not other commands are required (systemctl daemon-reload, systemctl start manager-server, systemctl enable manager-server). Every time after restart PC my ManagerServer start auomaticly. Also have tested on original Arch Linux and it work too.