aboutsummaryrefslogtreecommitdiffstats
path: root/src/gammad.c (unfollow)
Commit message (Collapse)AuthorFilesLines
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>