Rev 5 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
/* $Id: mk_service.h 10 2024-09-07 09:55:12Z nishi $ */
#ifndef __MK_SERVICE_H__
#define __MK_SERVICE_H__
#include <stdbool.h>
struct mk_service {
char* name;
char* description;
char* exec;
char* pidfile;
char* stop;
bool stopped;
};
void mk_service_scan(void);
int mk_start_service(const char* name);
int mk_stop_service(const char* name);
void mk_start_services(void);
void mk_resurrect_services(void);
#endif