aboutsummaryrefslogtreecommitdiffstats
path: root/src/gammad.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* m docMattias Andrée2016-07-111-5/+5
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Split out initialisation and deinitialisation from main()Mattias Andrée2016-07-111-105/+193
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add server.[ch]Mattias Andrée2016-07-111-0/+9
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add signal handlersMattias Andrée2016-07-111-1/+48
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Do not require /procMattias Andrée2016-07-111-1/+10
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Close file descriptorsMattias Andrée2016-07-111-1/+11
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Create and listen to socket + do not use deprecated usleepMattias Andrée2016-07-111-4/+36
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Place in background unless -fMattias Andrée2016-07-111-12/+121
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Signal the spawner when the service is initialised enoughMattias Andrée2016-07-111-0/+13
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Use exit value 2 to indicate that the service is already runningMattias Andrée2016-07-111-4/+11
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Retry once if pid file is emptyMattias Andrée2016-07-111-1/+10
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Implement use of PID fileMattias Andrée2016-07-111-1/+175
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add get_pidfile_pathnameMattias Andrée2016-07-111-8/+33
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* mMattias Andrée2016-07-111-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add .socket suffix to the socketMattias Andrée2016-07-111-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Implement -pMattias Andrée2016-07-111-0/+28
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Sort outputs by nameMattias Andrée2016-07-111-12/+25
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* mMattias Andrée2016-07-101-4/+2
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add command line parserMattias Andrée2016-07-101-6/+36
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add adjustment method name parserMattias Andrée2016-07-101-1/+37
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Get the pathname of the socketMattias Andrée2016-07-101-3/+67
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix warnings (and two errors)Mattias Andrée2016-07-101-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* mMattias Andrée2016-07-101-1/+2
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* mMattias Andrée2016-07-101-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Work on marshallingMattias Andrée2016-07-101-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* mMattias Andrée2016-07-101-0/+8
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* whitespaceMattias Andrée2016-07-101-0/+2
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Load output info and current gamma ramps, also restore gamma ramps on exitMattias Andrée2016-07-101-1/+145
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Initialise CRTC:sMattias Andrée2016-07-101-0/+90
Signed-off-by: Mattias Andrée <maandree@kth.se>