Rev 4 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
/* $Id: mk_service.h 5 2024-09-07 08:42:09Z 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);
#endif