We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 238941a commit 0594bafCopy full SHA for 0594baf
packages/ctl/src/ctl.ts
@@ -30,6 +30,9 @@ const getPath = (name: string, type: string) => {
30
: `/etc/containers/systemd/${name}.${type}`;
31
};
32
33
+/**
34
+ * Create Unit from filesystem
35
+ */
36
function getUnit(unitName: string, type: string = getType(unitName)): Unit | undefined {
37
const name = getName(unitName);
38
const path = `/etc/systemd/system/${name}.${type}`;
0 commit comments