aboutsummaryrefslogtreecommitdiffstats
path: root/src/satd.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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>