Project

General

Profile

Revision 13fd9e7e

ID13fd9e7efe3c7d7ae6631d672e5a391535e59c95
Parent 4f824e14
Child ddd50354

Added by Thomas Mullins almost 11 years ago

Added stop command and fixed pid file deletion

View differences:

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