enale-linger needs root, python3 in start_frappy

This commit is contained in:
zolliker authored and l_samenv committed 2025-07-07 16:54:27 +02:00
1 parent 334827247d
commit 16c58c7bb1
2 files changed
+2 -2

No files matched your search

+1 -1
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:
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
import sys
sys.path.append('/home/l_samenv/frappy')
import time