From 394045f68acd83676a5f24d1ab056d504ff7ed69 Mon Sep 17 00:00:00 2001 From: Cornelius Mika Date: Wed, 9 May 2018 16:22:02 +0200 Subject: [PATCH] systemd: improve comments --- modules/systemd-activate.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/systemd-activate.rb b/modules/systemd-activate.rb index 2708280a..517de40d 100644 --- a/modules/systemd-activate.rb +++ b/modules/systemd-activate.rb @@ -14,7 +14,7 @@ UnitsDir = 'home-files/.config/systemd/user' # that failed to start. This helps debugging quickly failing services. # # Whenever service failures are detected, show the output of -# 'systemd --home status' for the affected services. +# 'systemd --user status' for the affected services. # def setup_services(old_gen_path, new_gen_path, start_timeout_ms_string) start_timeout_ms = start_timeout_ms_string.to_i @@ -27,6 +27,7 @@ def setup_services(old_gen_path, new_gen_path, start_timeout_ms_string) exit if old_services.empty? && new_services.empty? + # These services should be running when this script is finished services_to_run = get_services_to_run(new_units_path) maybe_changed_services = services_to_run & old_services