restart Command¶
Restart the BAMON daemon process.
Syntax¶
bamon restart [options]
Options¶
Option | Short | Description |
---|---|---|
--daemon |
-d |
Run in background (daemon mode) |
--config |
-c |
Specify custom config file path |
Examples¶
Restart Daemon¶
# Restart daemon in background
bamon restart --daemon
Output:
BAMON daemon restarted successfully
PID: 12346
Log file: ~/.local/share/bamon/logs/bamon.log
Restart with Custom Config¶
# Restart with custom configuration
bamon restart --daemon --config /path/to/config.yaml
Output:
BAMON daemon restarted successfully
Configuration: /path/to/config.yaml
PID: 12346
Log file: ~/.local/share/bamon/logs/bamon.log