resources: svc: Add basic support for user services

These are user specific services and are available on the session bus.
This doesn't use the private user API because
https://github.com/coreos/go-systemd/pull/225 was NACKed.
This commit is contained in:
James Shubin
2017-03-04 04:10:25 -05:00
parent 028ef14cc0
commit f3fc7bb91e
2 changed files with 27 additions and 2 deletions

8
examples/svc2.yaml Normal file
View File

@@ -0,0 +1,8 @@
---
graph: mygraph
resources:
svc:
- name: purpleidea
state: running
session: true
edges: []