diff options
author | Cornelius Mika <cornelius.mika@gmail.com> | 2018-05-09 16:22:02 +0200 |
---|---|---|
committer | Cornelius Mika <cornelius.mika@gmail.com> | 2018-05-09 16:22:02 +0200 |
commit | 394045f68acd83676a5f24d1ab056d504ff7ed69 (patch) | |
tree | 1d6e08dfa8c2f0cd623537b6d92542478c816597 /modules/systemd-activate.rb | |
parent | f9af8e039008664ebac7f8f31231d5a226d67e36 (diff) |
systemd: improve comments
Diffstat (limited to '')
-rw-r--r-- | modules/systemd-activate.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/systemd-activate.rb b/modules/systemd-activate.rb index 2708280a15c..517de40df4b 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 |