Revision 13fd9e7e
Added stop command and fixed pid file deletion
mainbox/util.h | ||
---|---|---|
3 | 3 |
|
4 | 4 |
#include <unistd.h> |
5 | 5 |
|
6 |
#define PIDFILE "/var/run/tooltron.pid" |
|
7 |
|
|
6 | 8 |
char *read_file(const char *filename); |
7 | 9 |
int create_pid_file(); |
8 | 10 |
pid_t read_pid_file(); |
Also available in: Unified diff