saturnin._scripts.daemon¶
Saturnin script to start/stop the daemon process.
Functions¶
- saturnin._scripts.daemon.main()[source]¶
Saturnin script to start or stop the daemon process.
usage:
saturnin-daemon [-h] {start,stop} ...
- optional arguments:
- -h, --help
show this help message and exit
- Commands:
- {start,stop}
start Starts daemon process stop Stops daemon process
start comand:
saturnin-daemon start [-h] [-p PID_FILE] daemon ...
- positional arguments:
daemon Path to daemon arguments Daemon arguments
- optional arguments:
- -h, --help
show this help message and exit
- -p PID_FILE, --pid-file PID_FILE
Path to PID file
stop command:
saturnin-daemon stop [-h] pid
- positional arguments:
pid Daemon PID or path to PID file
- optional arguments:
- -h, --help
show this help message and exit