◆ __init__()
StratosphereLinuxIPS.daemon.Daemon.__init__ |
( |
|
self, |
|
|
|
slips |
|
) |
| |
◆ create_std_streams()
StratosphereLinuxIPS.daemon.Daemon.create_std_streams |
( |
|
self | ) |
|
Create standard steam files and dirs and clear them
◆ daemonize()
StratosphereLinuxIPS.daemon.Daemon.daemonize |
( |
|
self | ) |
|
Does the Unix double-fork to create a daemon
◆ delete_pidfile()
StratosphereLinuxIPS.daemon.Daemon.delete_pidfile |
( |
|
self | ) |
|
Deletes the pidfile to mark the daemon as closed
◆ get_last_opened_daemon_info()
StratosphereLinuxIPS.daemon.Daemon.get_last_opened_daemon_info |
( |
|
self | ) |
|
get information about the last opened slips daemon from running_slips_info.txt
◆ killdaemon()
StratosphereLinuxIPS.daemon.Daemon.killdaemon |
( |
|
self | ) |
|
Kill the damon process only (aka slips.py)
◆ prepare_output_dir()
StratosphereLinuxIPS.daemon.Daemon.prepare_output_dir |
( |
|
self | ) |
|
◆ prepare_std_streams()
StratosphereLinuxIPS.daemon.Daemon.prepare_std_streams |
( |
|
self, |
|
|
|
output_dir |
|
) |
| |
prepare the path of stderr, stdout, logsfile
◆ print()
StratosphereLinuxIPS.daemon.Daemon.print |
( |
|
self, |
|
|
|
text |
|
) |
| |
Prints output to logsfile specified in slips.conf
◆ read_configuration()
StratosphereLinuxIPS.daemon.Daemon.read_configuration |
( |
|
self | ) |
|
◆ start()
StratosphereLinuxIPS.daemon.Daemon.start |
( |
|
self | ) |
|
Main function, Starts the daemon and starts slips normally.
◆ stop()
StratosphereLinuxIPS.daemon.Daemon.stop |
( |
|
self | ) |
|
◆ description
str StratosphereLinuxIPS.daemon.Daemon.description = 'This module runs when slips is in daemonized mode' |
|
static |
◆ logsfile
StratosphereLinuxIPS.daemon.Daemon.logsfile |
◆ pid
StratosphereLinuxIPS.daemon.Daemon.pid |
◆ pidfile
StratosphereLinuxIPS.daemon.Daemon.pidfile |
◆ pidfile_dir
StratosphereLinuxIPS.daemon.Daemon.pidfile_dir |
◆ slips
StratosphereLinuxIPS.daemon.Daemon.slips |
◆ stderr
StratosphereLinuxIPS.daemon.Daemon.stderr |
◆ stdin
StratosphereLinuxIPS.daemon.Daemon.stdin |
◆ stdout
StratosphereLinuxIPS.daemon.Daemon.stdout |
The documentation for this class was generated from the following file:
- /home/runner/work/StratosphereLinuxIPS/StratosphereLinuxIPS/daemon.py