ssbc / ssb-server

The gossip and replication server for Secure Scuttlebutt - a distributed social network
1.68k stars 164 forks source link

Feature request: Auto start with systemd service or other alternatives. #758

Open Jacobthegr8 opened 2 years ago

Jacobthegr8 commented 2 years ago

I have set up a server and all is fine however, I am having the hardest time getting this script to auto start at boot. I am running Gnome on Debian and the closest I could get would be that the script would start at boot but would throw errors. If it is known to the community to start this script at boot with any method available, It would be nice of you all to give me a hand. I tried to make a systemd service but to no avail, it would not work.

austinfrey commented 2 years ago

@Jacobthegr8 I've had success with process managers that integrate with systemd, like pm2 , that can autostart a service like ssb at boot time

Jacobthegr8 commented 2 years ago

@Jacobthegr8 I've had success with process managers that integrate with systemd, like pm2 , that can autostart a service like ssb at boot time

Thanks for the suggestion! I'll take a look at it.

Jacobthegr8 commented 2 years ago

@Jacobthegr8 I've had success with process managers that integrate with systemd, like pm2 , that can autostart a service like ssb at boot time

Thank you for showing me what pm2 is. It is what I have been looking for for a long time now! I can use this for all sorts of things!

Works like a charm.