enale-linger needs root, python3 in start_frappy
This commit is contained in:
+1
-1
@@ -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
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env python
|
||||
#!/usr/bin/env python3
|
||||
import sys
|
||||
sys.path.append('/home/l_samenv/frappy')
|
||||
import time
|
||||
|
||||
Reference in New Issue
Block a user