Bisa / factorio-init

Factorio init script
MIT License
415 stars 82 forks source link

factorio.service for upstart #57

Closed drakar closed 8 years ago

drakar commented 8 years ago

Any chance you could enhance the service page and readme to include instructions for upstart users?

Please :+1:

Bisa commented 8 years ago

Hi @drakar - I never personally used upstart hence I'm not confident in writing any instructions for it, however if you could provide me with a working example (perhaps in a pull request to the readme file itself I'll be happy to try it out and merge it in if it works)

drakar commented 8 years ago

I'm not familiar with it either but if I get it working in Ubuntu 14 LTS I'll send the request.

Bisa commented 8 years ago

cheers, thank you! =)

(leaving the issue open in case anyone else is interested till we get it merged)

Bisa commented 8 years ago

Looks simple enough: http://upstart.ubuntu.com/getting-started.html

basically add a pre-start refreshing the saves and source the config, followed by a invocation on the binary

I don't have upstart ready to test this so if you want to give it a shot feel free to do so =)

drakar commented 8 years ago

I'll test it out for sure!

Bisa commented 8 years ago

I'm cutting down on complexity for this repo, feel free to add install instructions for other service managers to the wiki =)