systemd
This commit is contained in:
parent
dabb5ec439
commit
13c61cb1a6
@ -12,4 +12,7 @@ Restart=always
|
|||||||
#User=fenrirscreenreader
|
#User=fenrirscreenreader
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=sound.target
|
# start as early as possible in boot process
|
||||||
|
#WantedBy=sound.target
|
||||||
|
# start as soon the login prompt is available
|
||||||
|
WantedBy=getty.target
|
||||||
|
@ -22,7 +22,7 @@ def main():
|
|||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
# for debug in foreground
|
# for debug in foreground
|
||||||
#daemon = Daemonize(app="fenrir-daemon", pid=pidFile, action=main, foreground=True,chdir=os.path.dirname(os.path.realpath(fenrirVersion.__file__)))
|
daemon = Daemonize(app="fenrir-daemon", pid=pidFile, action=main, foreground=True,chdir=fenrirPath)
|
||||||
daemon = Daemonize(app="fenrir-daemon", pid=pidFile, action=main, chdir=fenrirPath)
|
#daemon = Daemonize(app="fenrir-daemon", pid=pidFile, action=main, chdir=fenrirPath)
|
||||||
daemon.start()
|
daemon.start()
|
||||||
|
|
||||||
|
@ -279,6 +279,9 @@ class settingsManager():
|
|||||||
environment['runtime']['commandManager'] = commandManager.commandManager()
|
environment['runtime']['commandManager'] = commandManager.commandManager()
|
||||||
environment['runtime']['commandManager'].initialize(environment)
|
environment['runtime']['commandManager'].initialize(environment)
|
||||||
|
|
||||||
|
environment['runtime']['helpManager'] = helpManager.helpManager()
|
||||||
|
environment['runtime']['helpManager'].initialize(environment)
|
||||||
|
|
||||||
environment['runtime']['byteManager'] = byteManager.byteManager()
|
environment['runtime']['byteManager'] = byteManager.byteManager()
|
||||||
environment['runtime']['byteManager'].initialize(environment)
|
environment['runtime']['byteManager'].initialize(environment)
|
||||||
|
|
||||||
@ -310,8 +313,6 @@ class settingsManager():
|
|||||||
environment['runtime']['cursorManager'].initialize(environment)
|
environment['runtime']['cursorManager'].initialize(environment)
|
||||||
environment['runtime']['applicationManager'] = applicationManager.applicationManager()
|
environment['runtime']['applicationManager'] = applicationManager.applicationManager()
|
||||||
environment['runtime']['applicationManager'].initialize(environment)
|
environment['runtime']['applicationManager'].initialize(environment)
|
||||||
environment['runtime']['helpManager'] = helpManager.helpManager()
|
|
||||||
environment['runtime']['helpManager'].initialize(environment)
|
|
||||||
environment['runtime']['headLineManager'] = headLineManager.headLineManager()
|
environment['runtime']['headLineManager'] = headLineManager.headLineManager()
|
||||||
environment['runtime']['headLineManager'].initialize(environment)
|
environment['runtime']['headLineManager'].initialize(environment)
|
||||||
environment['runtime']['tableManager'] = tableManager.tableManager()
|
environment['runtime']['tableManager'] = tableManager.tableManager()
|
||||||
|
Loading…
Reference in New Issue
Block a user