feat: SaaS, system update as a service
This commit is contained in:
parent
afd6cbb149
commit
92e34c28cc
2 changed files with 10 additions and 2 deletions
2
akshara
2
akshara
|
@ -402,8 +402,6 @@ def daemon():
|
|||
if dir.startswith('.old.'):
|
||||
exec('rm', '-rf', '/' + dir)
|
||||
|
||||
Event.wait()
|
||||
|
||||
|
||||
description = f'''
|
||||
{colors.bold}{colors.fg.cyan}usage:{colors.reset}
|
||||
|
|
10
akshara-system-update.service
Normal file
10
akshara-system-update.service
Normal file
|
@ -0,0 +1,10 @@
|
|||
[Unit]
|
||||
Description=Update system
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/akshara update
|
||||
User=root
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Reference in a new issue