enale-linger needs root, python3 in start_frappy

This commit is contained in:
2025-07-07 16:54:27 +02:00
committed by l_samenv
parent 334827247d
commit 16c58c7bb1
2 changed files with 2 additions and 2 deletions

View File

@@ -712,7 +712,7 @@ def handle_config():
if action == 'restart': # else 'enable'
do_cmd('systemctl', 'restart', service, sudo=as_root)
if not as_root:
do_cmd('loginctl enable-linger', sudo=False)
do_cmd('loginctl enable-linger', sudo=True)
do_cmd('systemctl', 'enable', service, sudo=as_root)
if box.change_if_names: