From b8a7161a09d4dcf62757a767019207ff26897769 Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Sat, 16 Apr 2022 14:29:50 -0700 Subject: src/property/systemd.lisp: add idea about a user instance combinator Signed-off-by: Sean Whitton --- src/property/systemd.lisp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/property') 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))) -- cgit v1.2.3