diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2022-04-16 14:29:50 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2022-04-16 14:29:50 -0700 |
commit | b8a7161a09d4dcf62757a767019207ff26897769 (patch) | |
tree | 140eeea21bbba37e70f99e899de842fe4128368f /src/property | |
parent | 0b49681223007ebc36930580febcbecb8319e67e (diff) | |
download | consfigurator-b8a7161a09d4dcf62757a767019207ff26897769.tar.gz |
src/property/systemd.lisp: add idea about a user instance combinator
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'src/property')
-rw-r--r-- | src/property/systemd.lisp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/property/systemd.lisp b/src/property/systemd.lisp index 2f598e7..3d0dcc0 100644 --- a/src/property/systemd.lisp +++ b/src/property/systemd.lisp @@ -26,6 +26,11 @@ ;;; touch and delete the file under /var/lib/systemd/linger in the latter ;;; case, so that more configuration is applicable to unbooted chroots. +;;; We might have a combinator which implies ':user-instance t' for any of the +;;; following properties it contains. The idea would be that within a +;;; sequence of properties you probably want to affect only either the system +;;; daemon or the user instance. + (defun systemctl (fn user &rest args &aux (args (cons "systemctl" args))) (apply fn (if user (systemd-user-instance-args args) args))) |