Skip to content

Commit 0594baf

Browse files
committed
chore(ctl): added jsdoc in ctl get unit
1 parent 238941a commit 0594baf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/ctl/src/ctl.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ const getPath = (name: string, type: string) => {
3030
: `/etc/containers/systemd/${name}.${type}`;
3131
};
3232

33+
/**
34+
* Create Unit from filesystem
35+
*/
3336
function getUnit(unitName: string, type: string = getType(unitName)): Unit | undefined {
3437
const name = getName(unitName);
3538
const path = `/etc/systemd/system/${name}.${type}`;

0 commit comments

Comments
 (0)