mirror of
https://github.com/nix-community/home-manager
synced 2024-11-27 05:29:46 +01:00
systemd: improve comments
This commit is contained in:
parent
f9af8e0390
commit
394045f68a
1 changed files with 2 additions and 1 deletions
|
@ -14,7 +14,7 @@ UnitsDir = 'home-files/.config/systemd/user'
|
||||||
# that failed to start. This helps debugging quickly failing services.
|
# that failed to start. This helps debugging quickly failing services.
|
||||||
#
|
#
|
||||||
# Whenever service failures are detected, show the output of
|
# 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)
|
def setup_services(old_gen_path, new_gen_path, start_timeout_ms_string)
|
||||||
start_timeout_ms = start_timeout_ms_string.to_i
|
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?
|
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)
|
services_to_run = get_services_to_run(new_units_path)
|
||||||
maybe_changed_services = services_to_run & old_services
|
maybe_changed_services = services_to_run & old_services
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue