-
Notifications
You must be signed in to change notification settings - Fork 675
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
5 additions
and
6 deletions.
There are no files selected for viewing
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
10 changes: 5 additions & 5 deletions
10
net-mgmt/opnarplog/src/opnsense/service/conf/actions.d/actions_opnarplog.conf
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,29 @@ | ||
[start] | ||
command:/usr/local/bin/bash /usr/local/etc/rc.d/opnarplog start | ||
command:service opnarplog start | ||
parameters: | ||
type:script | ||
message:starting OPNarplog | ||
|
||
[stop] | ||
command:/usr/local/bin/bash /usr/local/etc/rc.d/opnarplog stop | ||
command:service opnarplog stop | ||
parameters: | ||
type:script | ||
message:stopping OPNarplog | ||
|
||
[restart] | ||
command:/usr/local/bin/bash /usr/local/etc/rc.d/opnarplog restart | ||
command:service opnarplog restart | ||
parameters: | ||
type:script | ||
message:restarting OPNarplog | ||
|
||
[status] | ||
command:/usr/local/bin/bash /usr/local/etc/rc.d/opnarplog status;exit 0 | ||
command:service opnarplog status;exit 0 | ||
parameters: | ||
type:script_output | ||
message:request OPNarplog status | ||
|
||
[resetdb] | ||
command:rm -f /var/db/opnarplog/opnarplog.db | ||
command:rm -f /var/db/opnarplog/opnarplog.db; echo "`date '+%Y-%m-%d_%H:%M:%S,000'`: database reset" >> /var/log/opnarplog.log | ||
parameters: | ||
type:script | ||
message:reset database |