Skip to content

Instantly share code, notes, and snippets.

@cgwalters
Created March 9, 2023 01:12
Show Gist options
  • Save cgwalters/e8f343f194cbd295d0930236201ed933 to your computer and use it in GitHub Desktop.
Save cgwalters/e8f343f194cbd295d0930236201ed933 to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: ConfigMap
metadata:
name: test-unit
annotations:
bootc.prefix: "/usr/lib/systemd/system"
data:
example.service: |
[Service]
ExecStart=echo hello world
Type=oneshot
[Install]
WantedBy=multi-user.target
other-example.service: |
[Service]
ExecStart=echo other example hello world
Type=oneshot
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment