(slice, group string)
| 1135 | } |
| 1136 | |
| 1137 | func LoadSystemd(slice, group string) (*Manager, error) { |
| 1138 | if slice == "" { |
| 1139 | slice = defaultSlice |
| 1140 | } |
| 1141 | path := getSystemdFullPath(slice, group) |
| 1142 | return &Manager{ |
| 1143 | path: path, |
| 1144 | }, nil |
| 1145 | } |
| 1146 | |
| 1147 | func (c *Manager) DeleteSystemd() error { |
| 1148 | ctx := context.TODO() |
no test coverage detected
searching dependent graphs…