aboutsummaryrefslogtreecommitdiffstats
path: root/src/satd.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* some improvements and fixesMattias Andrée2015-12-311-55/+70
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* finish satd-diminished, satd-timer to be writtenMattias Andrée2015-12-291-7/+23
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* fix possible race conditionMattias Andrée2015-12-291-9/+7
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* mMattias Andrée2015-12-291-1/+2
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* fix warningsMattias Andrée2015-12-291-9/+6
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* ...Mattias Andrée2015-12-291-28/+18
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* start daemon and send messageMattias Andrée2015-12-291-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* m simplificationMattias Andrée2015-12-291-8/+4
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* implement job running in remove_jobMattias Andrée2015-12-291-2/+1
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* feature test macrosMattias Andrée2015-12-291-4/+3
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* fix errorsMattias Andrée2015-12-291-1/+0
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* how silly, I did not remove the line when I adapted it (whence I copied it) to leave the current user the ownerMattias Andrée2015-12-281-1/+0
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* mMattias Andrée2015-12-281-1/+0
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* m + receive messagesMattias Andrée2015-12-281-6/+7
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* what was I thingingMattias Andrée2015-12-281-2/+0
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* support recovering from a crashMattias Andrée2015-12-281-0/+2
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* close state file + unlink before closing to avoid race conditionMattias Andrée2015-12-281-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* create state fileMattias Andrée2015-12-281-19/+65
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* satd: exec to an image without init textMattias Andrée2015-12-281-4/+3
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* mMattias Andrée2015-12-281-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* we do not need to be able to pass the file descriptor via well defined fd:s now that we can keep the socket when called daemoniseMattias Andrée2015-12-281-22/+4
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* update daemonise, and daemonise when fully initialisedMattias Andrée2015-12-281-3/+7
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* reorder actionsMattias Andrée2015-12-281-15/+15
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* docMattias Andrée2015-12-281-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* get hook-script pathnameMattias Andrée2015-12-281-1/+55
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* whitespaceMattias Andrée2015-12-281-0/+1
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* the socket can be passed via stdinMattias Andrée2015-12-281-5/+34
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* mMattias Andrée2015-12-281-1/+4
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* unlink socket on flock failureMattias Andrée2015-12-281-1/+4
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* docMattias Andrée2015-12-281-0/+1
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* fix errors + use flock on socketMattias Andrée2015-12-281-4/+31
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* listenMattias Andrée2015-12-281-0/+15
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* mMattias Andrée2015-12-281-8/+4
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* fix errors and tidy upMattias Andrée2015-12-281-49/+11
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* the socket shall be opened on fd 3 (you will see why later)Mattias Andrée2015-12-281-0/+4
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* docMattias Andrée2015-12-281-0/+10
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* create socketMattias Andrée2015-12-261-3/+76
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* mMattias Andrée2015-12-261-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* daemoniseMattias Andrée2015-12-251-1/+12
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* satd: command lineMattias Andrée2015-12-241-0/+34
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* all of the commandsMattias Andrée2015-12-231-0/+30
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>