Open ericljiang opened 2 years ago
I am unassigning and marking this issue as p2
, which means that we are unable to work on this immediately.
We use +1s to help prioritize our work, and are happy to revaluate this issue based on community feedback. You can reach out to the cdk.dev community on Slack to solicit support for reprioritization.
Description
It looks like CloudFormation has added systemd support for the services key in CloudFormation::Init.
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-init.html#aws-resource-init-services:
This request is to add support to add systemd support to the InitService class.
Use Case
Currently you need to use
InitCommand
with a shell command to start a start a service with systemd from cfn-init. UsingInitService
would be cleaner, less error-prone, and more readable.Proposed Solution
Add a property to
InitServiceOptions
to allow user to specify sysvinit or systemd. The entry will be synthesized using the"sysvinit"
or"systemd"
key based on this property. The property can default to sysvinit to be backwards compatible.Other information
No response
Acknowledge