mirror of
https://github.com/MarkParker5/STARK.git
synced 2024-11-24 08:12:13 +02:00
change reboot method
This commit is contained in:
parent
d4cf2babcd
commit
b4e08f9411
@ -5,7 +5,7 @@ import config
|
||||
################################################################################
|
||||
def reboot(params):
|
||||
if params['bool']:
|
||||
os.system('sudo systemctl restart archie')
|
||||
os.system('sudo reboot')
|
||||
return {
|
||||
'text': 'Хорошо',
|
||||
'voice': 'Хорошо',
|
||||
|
Loading…
Reference in New Issue
Block a user