enale-linger needs root, python3 in start_frappy
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user