Last active
March 22, 2021 11:43
-
-
Save JustinAzoff/db71b901b1070a88f2d72738bf212749 to your computer and use it in GitHub Desktop.
Broctl systemd unit
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Bro | |
After=network.target | |
[Service] | |
ExecStartPre=-/bro/bin/broctl cleanup | |
ExecStartPre=/bro/bin/broctl check | |
ExecStartPre=/bro/bin/broctl install | |
ExecStart=/bro/bin/broctl start | |
ExecStop=/bro/bin/broctl stop | |
RestartSec=10s | |
Type=oneshot | |
RemainAfterExit=yes | |
TimeoutStopSec=600 | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks !