aboutsummaryrefslogtreecommitdiffstats
path: root/src/daemonise.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-12-29mMattias Andrée2-3/+4
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-29pwriten and preadn block signalsMattias Andrée1-4/+16
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-29mMattias Andrée1-7/+10
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-29mMattias Andrée1-1/+2
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-29mMattias Andrée1-8/+6
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-29m + satd-diminished: split out spawn from mainMattias Andrée1-35/+49
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-29fix possible race conditionMattias Andrée1-9/+7
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-29mMattias Andrée2-2/+4
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-29fix warningsMattias Andrée11-29/+35
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-29add build system + add news file + update depsMattias Andrée22-2/+3152
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-29m gitignoreMattias Andrée1-0/+3
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-29...Mattias Andrée9-115/+71
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-29receive messsage from daemonMattias Andrée1-4/+27
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-29clients test socket with shared lockMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-29mMattias Andrée1-5/+4
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-29start daemon and send messageMattias Andrée4-10/+85
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-29m simplificationMattias Andrée1-8/+4
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-29typoMattias Andrée3-4/+4
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-29styleMattias Andrée1-3/+3
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-29a bit cleanerMattias Andrée5-68/+43
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-29whitespaceMattias Andrée1-1/+0
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-29mMattias Andrée4-0/+4
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-29impelement satd-addMattias Andrée3-8/+67
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-29run_job_or_hook is not staticMattias Andrée2-1/+10
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-29mMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-29implement job running in remove_jobMattias Andrée8-28/+103
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-29implement send_string, remove_job (except for running the job), and get_jobsMattias Andrée3-10/+160
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-29the missing bitsMattias Andrée5-1/+77
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-29feature test macrosMattias Andrée10-10/+21
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-29m fixMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-29mMattias Andrée1-2/+0
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-29more character that are not sh safeMattias Andrée1-10/+8
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-29fix errorsMattias Andrée11-40/+51
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-29reopen state file, we will use flock on it, so all processes need their own open file descriptor for itMattias Andrée6-3/+47
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-28the spool does not persist between bootsMattias Andrée1-0/+3
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-28how silly, I did not remove the line when I adapted it (whence I copied it) to leave the current user the ownerMattias Andrée1-1/+0
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-28sat-atcompat will be writtenMattias Andrée1-0/+4
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-28mMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-28pmMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-28typoMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-28docMattias Andrée1-1/+5
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-28partially implement satd-list, satd-rm, and satd-runMattias Andrée6-30/+335
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-28mMattias Andrée7-3/+5
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-28m + receive messagesMattias Andrée11-36/+452
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-28...Mattias Andrée1-2/+4
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-28what was I thingingMattias Andrée2-21/+1
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-28typoMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-28reap children in sighandler to avoid getting stuck at EAGAINMattias Andrée1-2/+10
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-28mMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-28m + reexec on sighup + reap childrenMattias Andrée1-7/+42
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>