mirror of
https://github.com/troglobit/finit.git
synced 2026-10-02 14:02:52 +07:00
pidfile: Make sure to set a default name for plugin
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
@@ -135,6 +135,7 @@ static struct context pidfile_ctx;
|
||||
* so the bootmisc plugin must run first.
|
||||
*/
|
||||
static plugin_t plugin = {
|
||||
.name = __FILE__,
|
||||
.hook[HOOK_BASEFS_UP] = { .arg = &pidfile_ctx, .cb = pidfile_init },
|
||||
.hook[HOOK_SVC_RECONF] = { .cb = pidfile_reconf },
|
||||
.io = {
|
||||
|
||||
Reference in New Issue
Block a user