aboutsummaryrefslogtreecommitdiffstats
path: root/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-07-12Add -q and -qqMattias Andrée1-4/+111
Signed-off-by: Mattias Andrée <maandree@kth.se>
2016-07-12Add loop that waits on socketsMattias Andrée3-0/+79
Signed-off-by: Mattias Andrée <maandree@kth.se>
2016-07-12Rename project: gammad => coopgammadMattias Andrée15-24/+24
Signed-off-by: Mattias Andrée <maandree@kth.se>
2016-07-12Implement re-execMattias Andrée3-2/+106
Signed-off-by: Mattias Andrée <maandree@kth.se>
2016-07-12Implement state mergingMattias Andrée3-6/+58
Signed-off-by: Mattias Andrée <maandree@kth.se>
2016-07-12Implement unmarshalling of process stateMattias Andrée1-9/+138
Signed-off-by: Mattias Andrée <maandree@kth.se>
2016-07-12whitespaceMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@kth.se>
2016-07-12Implement marshal of the processMattias Andrée1-65/+196
Signed-off-by: Mattias Andrée <maandree@kth.se>
2016-07-11Conditionally store realpath(argv0) so we can reexecute even if argv0 is relativeMattias Andrée1-0/+16
Signed-off-by: Mattias Andrée <maandree@kth.se>
2016-07-11Update usage()Mattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@kth.se>
2016-07-11docMattias Andrée1-3/+15
Signed-off-by: Mattias Andrée <maandree@kth.se>
2016-07-11m docMattias Andrée1-3/+3
Signed-off-by: Mattias Andrée <maandree@kth.se>
2016-07-11m docMattias Andrée1-5/+5
Signed-off-by: Mattias Andrée <maandree@kth.se>
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>