Commit Graph

  • b9454e9f1c
    Repair setproctitle (libbsd) linux Georg Pfuetzenreuter 2022-04-22 08:07:45 +0000
  • cceb3bca0a
    Print better logs on status call status Georg Pfuetzenreuter 2022-04-22 08:05:07 +0000
  • ba5d5ce4fb
    Print more logs on status call Georg Pfuetzenreuter 2022-04-22 03:19:29 +0000
  • 2bec10927f
    Add signal log notice Georg Pfuetzenreuter 2022-04-22 03:03:08 +0000
  • 01e774c619
    Fix segfault on signal Georg Pfuetzenreuter 2022-04-22 02:50:25 +0000
  • 94b3b79c56
    Add fish wrapper Georg Pfuetzenreuter 2022-04-21 20:18:20 +0000
  • bd799c6bb8
    Init README Georg Pfuetzenreuter 2022-04-21 18:47:10 +0000
  • 6d29c032a7
    Sys-V init script Georg Pfuetzenreuter 2022-04-21 18:28:53 +0000
  • 337b353624
    Initial Linux port Georg Pfuetzenreuter 2022-04-21 18:26:49 +0000
  • dfee8d5009 Use one MANS variable in Makefile master June McEnroe 2022-02-26 05:33:32 +0000
  • 3834500472 Show /var/log/messages after catsit command C. McEnroe 2021-09-28 17:04:04 -0400
  • f5888b8f83 Refer to glob(7) C. McEnroe 2021-09-28 16:41:43 -0400
  • 909cbf3029 Allow backslash line continuation in catsit.conf C. McEnroe 2021-09-28 16:18:48 -0400
  • b5437a42f9 Allocate pollfd array rather than using a VLA C. McEnroe 2021-09-26 18:11:38 -0400
  • 55c4755943 Use reallocarray(3) C. McEnroe 2021-09-26 17:51:03 -0400
  • f346f61ea0 Don't parse config until after daemonization C. McEnroe 2021-09-26 17:39:08 -0400
  • bdcb9ab46f OpenBSD: Simplify pledge(2) and unveil(2) strategy C. McEnroe 2021-09-26 17:25:58 -0400
  • 3769acfdc7 Fix inverted exec prepend logic C. McEnroe 2021-09-25 03:31:14 +0000
  • 972922209d Remove freenode C. McEnroe 2021-05-19 11:18:26 -0400
  • 207da7ffcf Skip leading whitespace on prepends and commands C. McEnroe 2021-03-01 19:41:01 -0500
  • e9901e30a2 Only prepend exec if command line doesn't contain ;&|() C. McEnroe 2021-03-01 19:29:27 -0500
  • 0384c2abd7 Exit with EX_TEMPFAIL when watching files C. McEnroe 2021-03-01 19:09:40 -0500
  • f89fe20dde Add -d flag to catsit-watch C. McEnroe 2021-02-27 19:34:30 -0500
  • c7b117f37a Add -a to catsit-watch C. McEnroe 2021-02-27 15:44:24 -0500
  • 69c1b1b2ac Add catsit-timer utility C. McEnroe 2021-02-25 19:45:56 -0500
  • fd25c666d5 Add catsit-watch utility C. McEnroe 2021-02-25 15:42:24 -0500
  • 8bd0b51140 Drop pledge privileges after daemonization C. McEnroe 2021-02-01 14:47:32 -0500
  • cc8a88c059 Remove use of "%n" C. McEnroe 2021-02-01 11:39:25 -0500
  • da4ccb18f4 Check signals first in the loop C. McEnroe 2021-02-01 11:36:31 -0500
  • 7769a4f6e9 Log a message when stopping a service waiting to restart C. McEnroe 2020-12-15 16:47:12 -0500
  • b7ebd38698 Refactor unveil calls so errors can be reported properly C. McEnroe 2020-11-10 15:15:13 -0500
  • 5b1a5f2876 Do not increment signals C. McEnroe 2020-10-27 08:35:29 -0400
  • 363ab9f834 Only look up group if one is named C. McEnroe 2020-10-23 11:37:10 -0400
  • 87083ad381 Remove default defines of RUNDIR, ETCDIR C. McEnroe 2020-10-23 11:22:17 -0400
  • 8f81318a3f Set shell scripts executable in build C. McEnroe 2020-10-23 11:10:00 -0400
  • d90a43d948 Humanize milliseconds if interval is less than 1s C. McEnroe 2020-10-20 20:55:30 -0400
  • 1832301862 Humanize restart interval C. McEnroe 2020-10-20 19:55:11 -0400
  • 324f569ce0 Document default catsit.conf location on OpenBSD C. McEnroe 2020-08-17 23:59:08 -0400
  • 08783bd1cc Template catsit script with RUNDIR C. McEnroe 2020-08-17 23:25:34 -0400
  • 2a7467647e Clean up includes C. McEnroe 2020-08-17 22:47:19 -0400
  • e548219ebf Log service uptime in status C. McEnroe 2020-08-17 22:39:54 -0400
  • 533c95c321 Add copy of AGPLv3 C. McEnroe 2020-08-17 22:20:53 -0400
  • 9612da73e9 Document target platforms C. McEnroe 2020-08-17 18:22:42 -0400
  • 6f74d88067 Remove useless setprogname call C. McEnroe 2020-08-17 18:17:41 -0400
  • 325a92645f Add OpenBSD rc script C. McEnroe 2020-08-17 17:50:00 -0400
  • 32d048f326 Use BSD make syntax to configure for OpenBSD C. McEnroe 2020-08-17 17:20:02 -0400
  • 296e40887b Use pledge(2) and unveil(2) on OpenBSD C. McEnroe 2020-08-17 16:38:22 -0400
  • ebd44fb606 Use a separate fd for the fake fifo writer C. McEnroe 2020-08-17 16:19:29 -0400
  • ea96ef48cb Use a non-blocking lock on the PID file C. McEnroe 2020-08-17 16:06:40 -0400
  • 620735523f Truncate PID file after opening and locking C. McEnroe 2020-08-17 15:59:45 -0400
  • 00e35a1031 Simplify parseConfig error handling C. McEnroe 2020-08-17 15:13:58 -0400
  • 41f9a167e3 Properly handle command line truncation C. McEnroe 2020-08-17 12:57:50 -0400
  • 84b2c1858a Flesh out documentation and improve examples C. McEnroe 2020-08-17 01:11:44 -0400
  • 6302579f22 Add drop command C. McEnroe 2020-08-16 23:01:25 -0400
  • f9cfab1e0d Only call setgroups as root C. McEnroe 2020-08-16 22:20:14 -0400
  • daac7db044 Don't set LOGNAME C. McEnroe 2020-08-16 17:32:23 -0400
  • 7d04a0f5e0 Add privileged services C. McEnroe 2020-08-16 17:28:57 -0400
  • e381f7bbe3 Clear groups list for services C. McEnroe 2020-08-16 16:13:43 -0400
  • 3fbe9b5933 Use process groups for services C. McEnroe 2020-08-16 00:27:08 -0400
  • 844f34a0c1 Set title after reload C. McEnroe 2020-08-16 00:04:55 -0400
  • 3e9e6cf3a5 Set title on control commands C. McEnroe 2020-08-15 23:48:29 -0400
  • 1c4dd05f40 Add 126 to hardcoded stop exits C. McEnroe 2020-08-15 23:11:09 -0400
  • 1eb6eb6d37 Remove EX_CONFIG from default stopexits C. McEnroe 2020-08-15 22:03:01 -0400
  • 470e1ec7b6 Avoid "control named pipe" phrase C. McEnroe 2020-08-15 18:54:47 -0400
  • 84a1f34b0c Check if pipe is writable in wrapper C. McEnroe 2020-08-15 18:46:28 -0400
  • 0d7303e75f Parse config later C. McEnroe 2020-08-15 18:40:51 -0400
  • a6b78bc827 Only log signals other than SIGTERM C. McEnroe 2020-08-15 18:36:30 -0400
  • f7850dde39 Clarify restart interval in catsitd manual C. McEnroe 2020-08-15 18:31:59 -0400
  • 8b9daf7d5d Fix resetting restart interval with explicit restart C. McEnroe 2020-08-15 18:28:20 -0400
  • 497cafbf0f Add reset interval after which restart interval is reset C. McEnroe 2020-08-15 18:25:40 -0400
  • a2c5773b03 Log when service name pattern doesn't match C. McEnroe 2020-08-15 17:50:19 -0400
  • f67269202e Add FreeBSD rc script C. McEnroe 2020-08-15 17:40:08 -0400
  • 1e1a848f22 Call setproctitle with number of services C. McEnroe 2020-08-15 16:53:15 -0400
  • 6fb08baee3 Rename project to catsit C. McEnroe 2020-08-15 16:40:15 -0400
  • 449b0918ce Use only LOG_NOTICE and LOG_WARNING C. McEnroe 2020-08-15 16:14:21 -0400
  • 3a57df720e Make log messages consistent C. McEnroe 2020-08-15 15:57:45 -0400
  • e25813c0b2 Remove closelog call C. McEnroe 2020-08-15 15:37:37 -0400
  • 92d27e09c3 Implement service status C. McEnroe 2020-08-15 15:29:58 -0400
  • b7e36c72a6 Parse control commands C. McEnroe 2020-08-15 15:16:50 -0400
  • 34c39437f2 Read service pipes C. McEnroe 2020-08-15 14:46:11 -0400
  • f556af9ad5 Implement non-blocking line-buffered reading C. McEnroe 2020-08-15 13:05:31 -0400
  • 3e2568aeb0 Generate tags file C. McEnroe 2020-08-15 09:56:32 -0400
  • f39d916e3a Just use CLOCK_MONOTONIC and clean up includes C. McEnroe 2020-08-15 09:53:03 -0400
  • ba2175979c Reap children C. McEnroe 2020-08-14 18:38:14 -0400
  • e68a29c15e Implement serviceSignal, serviceStop, serviceRestart C. McEnroe 2020-08-14 18:11:14 -0400
  • 0ca3c5c103 Reset restartInterval and restartDeadline on start C. McEnroe 2020-08-14 17:50:54 -0400
  • 04ca84acda Switch to timespec for timeouts C. McEnroe 2020-08-14 17:44:27 -0400
  • 5f47019106 Implement serviceStart C. McEnroe 2020-08-14 17:36:31 -0400
  • ecc818534c Flesh out Service struct C. McEnroe 2020-08-14 16:51:32 -0400
  • 96e962a08c Build environment for services C. McEnroe 2020-08-14 16:17:29 -0400
  • e0dab12078 Implement spawntab parsing C. McEnroe 2020-08-14 15:56:10 -0400
  • 231dcefc55 Open syslog, daemonize, write PID C. McEnroe 2020-08-14 13:08:06 -0400
  • 3b38cfdbfe Implement user and group lookup C. McEnroe 2020-08-14 12:52:51 -0400
  • b8ad6a4dbb Add install target C. McEnroe 2020-08-14 12:21:21 -0400
  • c9332d07f3 Add spawnd skeleton C. McEnroe 2020-08-14 12:15:03 -0400
  • 32cf3d5617 Add prospective manual page for spawntab C. McEnroe 2020-08-13 21:06:29 -0400
  • 2050d668af Add tentative implementation of spawn(8) C. McEnroe 2020-08-13 20:38:34 -0400
  • 021003a3e0 Add prospective manual page for spawn C. McEnroe 2020-08-13 20:35:14 -0400
  • be9f064398 Add prospective manual page for spawnd C. McEnroe 2020-08-13 17:34:58 -0400