icanhazstring/systemctl-php

Create services

Gemorroj opened this issue · 5 comments

Hi. Not "planned". But its a good point.
Will do my best to implement this in the next major version.

Thanks for reaching out :)

Hey @Gemorroj just wanted to let u know i am implementing the possibility for create services on v1.0.
Along with adding all possible units to be managed. Should be finished soon :)

@Gemorroj i just tagged a release v1.0-rc.1 with the UnitInstaller included.

Beware tho: This is just a pre-release. So changes might occur.

Thank you.
I would like a little more examples. For example, nothing is said about the methods setExecStart / setExecStop.

Hi. There is a mention in the TypeSpecificSection
https://github.com/icanhazstring/systemctl-php/blob/1.x/README.md#typespecificsection

So u can see what method you can use. I could supply a more detailed example of how to use this.