aboutsummaryrefslogtreecommitdiffstats
path: root/src/message.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-07-11Split out initialisation and deinitialisation from main()Mattias Andrée1-105/+193
Signed-off-by: Mattias Andrée <maandree@kth.se>
2016-07-11Add server.[ch]Mattias Andrée4-1/+280
Signed-off-by: Mattias Andrée <maandree@kth.se>
2016-07-11whitespace + Add message.[ch]Mattias Andrée8-1/+800
Signed-off-by: Mattias Andrée <maandree@kth.se>
2016-07-11Add signal handlersMattias Andrée1-1/+48
Signed-off-by: Mattias Andrée <maandree@kth.se>
2016-07-11Detect kernel automaticallyMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@kth.se>
2016-07-11Do not require /procMattias Andrée2-3/+16
Signed-off-by: Mattias Andrée <maandree@kth.se>
2016-07-11Close file descriptorsMattias Andrée1-1/+11
Signed-off-by: Mattias Andrée <maandree@kth.se>
2016-07-11Create and listen to socket + do not use deprecated usleepMattias Andrée3-4/+66
Signed-off-by: Mattias Andrée <maandree@kth.se>
2016-07-11Place in background unless -fMattias Andrée3-12/+170
Signed-off-by: Mattias Andrée <maandree@kth.se>
2016-07-11Signal the spawner when the service is initialised enoughMattias Andrée1-0/+13
Signed-off-by: Mattias Andrée <maandree@kth.se>
2016-07-11Use exit value 2 to indicate that the service is already runningMattias Andrée1-4/+11
Signed-off-by: Mattias Andrée <maandree@kth.se>
2016-07-11Retry once if pid file is emptyMattias Andrée1-1/+10
Signed-off-by: Mattias Andrée <maandree@kth.se>
2016-07-11Implement use of PID fileMattias Andrée4-13/+288
Signed-off-by: Mattias Andrée <maandree@kth.se>
2016-07-11Add get_pidfile_pathnameMattias Andrée1-8/+33
Signed-off-by: Mattias Andrée <maandree@kth.se>
2016-07-11mMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@kth.se>
2016-07-11Add .socket suffix to the socketMattias Andrée1-2/+2
Signed-off-by: Mattias Andrée <maandree@kth.se>
2016-07-11whitespaceMattias Andrée1-0/+1
Signed-off-by: Mattias Andrée <maandree@kth.se>
2016-07-11Implement -pMattias Andrée8-65/+102
Signed-off-by: Mattias Andrée <maandree@kth.se>
2016-07-11Sort outputs by nameMattias Andrée3-12/+53
Signed-off-by: Mattias Andrée <maandree@kth.se>
2016-07-10mMattias Andrée1-4/+2
Signed-off-by: Mattias Andrée <maandree@kth.se>
2016-07-10Add command line parserMattias Andrée3-7/+102
Signed-off-by: Mattias Andrée <maandree@kth.se>
2016-07-10Add adjustment method name parserMattias Andrée1-1/+37
Signed-off-by: Mattias Andrée <maandree@kth.se>
2016-07-10Get the pathname of the socketMattias Andrée2-4/+68
Signed-off-by: Mattias Andrée <maandree@kth.se>
2016-07-10Fix warnings (and two errors)Mattias Andrée3-12/+12
Signed-off-by: Mattias Andrée <maandree@kth.se>