mirror of
https://github.com/troglobit/finit.git
synced 2026-11-02 13:20:32 +00:00
pidfile: Make sure to set a default name for plugin
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
0b5888ed22
commit
57181264e9
1 file changed
+1
@@ -135,6 +135,7 @@ static struct context pidfile_ctx;
|
|||||||
* so the bootmisc plugin must run first.
|
* so the bootmisc plugin must run first.
|
||||||
*/
|
*/
|
||||||
static plugin_t plugin = {
|
static plugin_t plugin = {
|
||||||
|
.name = __FILE__,
|
||||||
.hook[HOOK_BASEFS_UP] = { .arg = &pidfile_ctx, .cb = pidfile_init },
|
.hook[HOOK_BASEFS_UP] = { .arg = &pidfile_ctx, .cb = pidfile_init },
|
||||||
.hook[HOOK_SVC_RECONF] = { .cb = pidfile_reconf },
|
.hook[HOOK_SVC_RECONF] = { .cb = pidfile_reconf },
|
||||||
.io = {
|
.io = {
|
||||||
|
|||||||
Reference in new issue
Block a user