Automatically run Sharetribe after server reboot [Ubuntu 16.04]

how to do that?

I am using Ubuntu 16.04, so I probably should checkout systemd?
any example script?

Thanks

btw: What operating system you guys use for sharetribe.com?
my guess is Ubuntu 14.04 (I know you guys are using Heroku, but Heroku probably would tell you that right?)

1 Like

Hi,

Yes, you should use systemd or another process manager (e.g. supervisord). I don’t have readily a tested configuration unfortunately, but you can take a look for example at my earlier post with upstart example - https://www.sharetribe.com/community/t/how-to-run-sharetribe-in-background/281/2 - and then at this guide: https://wiki.ubuntu.com/SystemdForUpstartUsers.

When you get your systemd configuration working, it would be awesome if you share it here!

Yes, we are using Heroku. Looks like the Heroku runtime is built on Ubuntu 14.04.

Cheers,
Boyan

1 Like

Thanks for reply.
I would share the script after it work on my machine~

:smiley:
Cheng Zheng.

1 Like