9 Commits (302b3cf0c4c2db7f9900e2a8093fbf17b9c161d5)

Author SHA1 Message Date
Adriaan de Groot b7c77e7323 [services-systemd] Make user-visible messages translatable 6 years ago
Adriaan de Groot c9f89e2929 [modules] Translate name of services-* modules. 6 years ago
Adriaan de Groot 1957478618 [services-systemd] Follow the flexible example of openrc
- Make *mandatory* optional (and default to false); this
   allows shorter lists of entries
 - Allow degenerate entries which are just a name
   (which have *mandatory* set to false as well).

SEE #992
7 years ago
Adriaan de Groot b1881d1cd2 [services-*] Adjust Copyright notices 7 years ago
Adriaan de Groot 59b07cc720 [services-systemd] Be more resilient in the config
- If a key is not given, use [] instead of crashing.
7 years ago
Adriaan de Groot c9c777b055 [services-systemd] Introduce disable-targets and mask
- With refactored code, introducing new kinds of actions
   is very few lines of code. Allow disabling targets
   (services was already possible). Allow masking units,
   but as a special case require the complete name.

FIXES #975
7 years ago
Adriaan de Groot 5d6e07712b [services-systemd] Refactor getting config
- Don't create temporary variables
 - Change API slightly to accomodate more (kinds of) suffixes
7 years ago
Adriaan de Groot 0520fc3b7e [services-systemd] Refactor to repeat less code
- The three steps of modifying services in the target
   system do basically the same thing, so factor out
   the loops and logging into a systemctl() function.
 - Log to warning() instead of just debugging, on failure.
7 years ago
Adriaan de Groot 08fc93f137 [services] Rename to services-systemd 7 years ago