aboutsummaryrefslogtreecommitdiffstats
path: root/src/daemon.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-12-30mMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-30mMattias Andrée1-2/+3
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-30overviewMattias Andrée1-1/+46
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-30typoMattias Andrée2-4/+4
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-30beginning of texinfo manualMattias Andrée12-9/+1015
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-30empty arguments must be quoted tooMattias Andrée1-0/+4
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-30the DEL char must be quotedMattias Andrée1-6/+7
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-30man pagesMattias Andrée6-2/+254
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-30update makefileMattias Andrée1-2/+2
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-30add man page: sat(1)Mattias Andrée2-1/+218
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-29just make real sure that we do not quit whilst there are queued jobsMattias Andrée1-0/+6
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-29close the timers when running job/hookMattias Andrée1-0/+2
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-29typo + do not spawn satd-timer if it is already runningMattias Andrée1-7/+7
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-29implement satd-timerMattias Andrée3-4/+124
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-29finish satd-diminished, satd-timer to be writtenMattias Andrée4-27/+119
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
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>