Project

General

Profile

Actions

User story #18553

closed

Allow managing other types of systemd units

Added by Alexis Mousset over 3 years ago. Updated about 2 years ago.

Status:
Released
Priority:
N/A
Category:
Generic methods
Target version:
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
To do
Fix check:
To do
Regression:

Description

Currently we add .service to provided service name in service methods. This prevent using these methods to manage other unit types (for example enabling/disabling timers).

We could simply rely on systemd's default behaviour to consider units without extensions as services.

This way we could pass MYTIMER.timer to service enabled/disabled for example.

Actions

Also available in: Atom PDF