Hey there folks
I have a little bit of experience with Linux systems, but I'm definitely no superuser. I'm trying to set up a server program that I wrote as a service on an Ubuntu lightsail box that I have, and I'm having a bit of trouble.
I'm using the following to try and make the program register as a service, and auto-start on reboot.
chmod +x ./RunPushServer.sh
cp ./RunPushServer.sh /etc/init.d/RunPushServer.sh
update-rc.d RunPushServer.sh start
Additionally, I added the following to my visudo to make the binary executed from the shell script (with mono) owned by a privileged user in an attempt to make it function after it failed to launch with no error message:
push_notification_user ALL=NOPASSWD: /usr/local/PushNotificationServer/PushNotificationServer.exe
Unfortunately, when I attempt to start this service, I get pic related.
I'm not finding anything on this online. What should I try? How can I get more information that might help me solve the issue?
I'd be more than willing to share any/all of the files involved in this, thankfully none of it is even remotely closed source.