Create services
Gemorroj opened this issue · 5 comments
Are there any plans to add the ability to create services?
man page: https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/System_Administrators_Guide/sect-Managing_Services_with_systemd-Unit_Files.html
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.