davepacheco/smfgen — pull request #2 by jclulow (2012-07-09 22:58:46+00:00)
Title: Add support for method_context (user, group, environment and privileges)

This change adds support for `` (and ``, ``). I've tried this out on a couple of services. The following JSON:

```javascript
{
"ident": "gotime",
"category": "site",
"label": "Test Service",
"start": "/tmp/gotime.ksh",
"user": "jclulow",
"group": "users",
"privileges": [ "basic", "net_privaddr" ],
"environment": {
"PATH": "/opt/local/bin:/usr/bin:/bin",
"HOME": "/home/jclulow"
}
}
```

... will produce this XML ...

```xml

```