Commit Graph

95 Commits

Author SHA1 Message Date
fbt
a0ef06810c shaky, abort
Signed-off-by: fbt <fbt@fleshless.org>
2020-02-11 03:00:24 +03:00
fbt
a47b00f665 We always know the mainpid, why the cloak & dagger
Signed-off-by: fbt <fbt@fleshless.org>
2019-11-17 17:48:51 +03:00
fbt
b67fec6f16 Another experiment
Signed-off-by: fbt <fbt@fleshless.org>
2019-11-17 17:35:19 +03:00
fbt
c6bba36f94 this works always
Signed-off-by: fbt <fbt@fleshless.org>
2018-12-19 19:07:39 +03:00
fbt
d07fd3362b tiny QoL improvement
Signed-off-by: fbt <fbt@fleshless.org>
2018-08-07 23:04:35 +03:00
fbt
e948f6985a a flag for remembering service configs
Signed-off-by: fbt <fbt@fleshless.org>
2018-04-08 16:54:23 +03:00
fbt
0d95965b5b oops
Signed-off-by: fbt <fbt@fleshless.org>
2018-03-09 07:58:34 +03:00
fbt
e433bdccdd consistency
Signed-off-by: fbt <fbt@fleshless.org>
2018-03-09 07:50:20 +03:00
fbt
a4bd260bfe These should go into stderr
Signed-off-by: fbt <fbt@fleshless.org>
2018-03-09 07:23:57 +03:00
fbt
7afeb29bf2 Some ideas were dumb
Signed-off-by: fbt <fbt@fleshless.org>
2018-03-09 07:19:18 +03:00
fbt
924324aa10 I'm lazy
Signed-off-by: fbt <fbt@fleshless.org>
2018-03-09 06:57:26 +03:00
fbt
2aff1db42b Keep the state yo
Signed-off-by: fbt <fbt@fleshless.org>
2018-03-09 05:57:26 +03:00
fbt
0dd00077a5 info fixes
Signed-off-by: fbt <fbt@fleshless.org>
2018-03-09 03:25:49 +03:00
fbt
e227235f46 examples, oneshot services rework
Signed-off-by: fbt <fbt@fleshless.org>
2018-03-09 02:31:14 +03:00
fbt
5506a922c6 quote expansions
Signed-off-by: fbt <fbt@fleshless.org>
2018-03-08 23:57:44 +03:00
fbt
94bb395417 Oops
Signed-off-by: fbt <fbt@fleshless.org>
2018-03-06 19:47:42 +03:00
fbt
dfd942ca49 change namespacing from :: to service::
Signed-off-by: fbt <fbt@fleshless.org>
2018-03-06 19:42:31 +03:00
fbt
da1ffe1a7b enforce strict service name rules
Signed-off-by: fbt <fbt@fleshless.org>
2018-03-06 19:30:04 +03:00
fbt
bf85069b32 oops. This makes more sense.
Signed-off-by: fbt <fbt@fleshless.org>
2018-03-06 18:29:30 +03:00
fbt
8cee6abd50 cleanup & setup
Signed-off-by: fbt <fbt@fleshless.org>
2018-03-06 18:21:21 +03:00
fbt
88e05630ae Signal passthru and support for $service_name::function style namespacing
Signed-off-by: fbt <fbt@fleshless.org>
2018-03-06 17:42:10 +03:00
fbt
075d94e58c Separate the svc pidfile and the service one
Signed-off-by: fbt <fbt@fleshless.org>
2018-03-06 07:40:02 +03:00
fbt
4414293f9b readme
Signed-off-by: fbt <fbt@fleshless.org>
2018-03-05 04:45:26 +03:00
fbt
5c7cec8520 readme
Signed-off-by: fbt <fbt@fleshless.org>
2018-03-05 04:41:55 +03:00
fbt
29bc62f208 reset-exit fix
Signed-off-by: fbt <fbt@fleshless.org>
2018-03-05 04:28:35 +03:00
fbt
611349e243 early edit; list known
Signed-off-by: fbt <fbt@fleshless.org>
2018-03-05 03:42:30 +03:00
fbt
52f3117d3f Remove stale pidfiles in the respawn loop
Signed-off-by: fbt <fbt@fleshless.org>
2018-03-05 02:52:55 +03:00
fbt
4bcd4cc58b Silly ssm, search where you lost it, not where it is light
Signed-off-by: fbt <fbt@fleshless.org>
2018-03-05 02:01:26 +03:00
fbt
42f42182ae cgroup cleanup
Signed-off-by: fbt <fbt@fleshless.org>
2018-03-05 01:36:40 +03:00
fbt
7e0df4a559 +#service_cgroup_cleanup
Signed-off-by: fbt <fbt@fleshless.org>
2018-03-05 01:13:55 +03:00
fbt
8ae151b601 A feature to kill the cgroup members when stopping the service
Signed-off-by: fbt <fbt@fleshless.org>
2018-03-05 01:01:57 +03:00
fbt
2f3837d07c cgroup tweaks
Signed-off-by: fbt <fbt@fleshless.org>
2018-03-05 00:35:29 +03:00
fbt
623bf57bdb exit code and failure states rework
Signed-off-by: fbt <fbt@fleshless.org>
2018-03-05 00:16:45 +03:00
fbt
7a3bb1a5f0 respawn rework
Signed-off-by: fbt <fbt@fleshless.org>
2018-03-04 19:26:40 +03:00
fbt
39eb1aff49 Respawn cleanup and new features; usage
Signed-off-by: fbt <fbt@fleshless.org>
2018-03-04 16:55:53 +03:00
fbt
92b54483bd these should also be readonly
Signed-off-by: fbt <fbt@fleshless.org>
2018-01-22 20:08:48 +03:00
fbt
9516f9d5fe Found how to break it
Signed-off-by: fbt <fbt@fleshless.org>
2018-01-10 22:00:22 +03:00
fbt
339ccd1b47 Turned out not to be very useful
Signed-off-by: fbt <fbt@fleshless.org>
2018-01-10 11:30:02 +03:00
fbt
730374f6d7 more sugar
Signed-off-by: fbt <fbt@fleshless.org>
2018-01-09 23:47:50 +03:00
fbt
e2ac26902c A switch to disable checking if the service pid is in the correct cgroup
Signed-off-by: fbt <fbt@fleshless.org>
2018-01-09 16:53:02 +03:00
fbt
5c33fc5712 A very old bug indeed
Signed-off-by: fbt <fbt@fleshless.org>
2018-01-08 14:22:13 +03:00
fbt
e5fc565433 artefact of old
Signed-off-by: fbt <fbt@fleshless.org>
2018-01-08 14:17:02 +03:00
fbt
d0d20d7d9c separate cfg files after all; some cleanup
Signed-off-by: fbt <fbt@fleshless.org>
2018-01-08 14:12:34 +03:00
fbt
f548e6f53d oops
Signed-off-by: fbt <fbt@fleshless.org>
2018-01-08 12:08:01 +03:00
fbt
9343c78b33 ssm.conf
Signed-off-by: fbt <fbt@fleshless.org>
2018-01-08 12:02:02 +03:00
fbt
f026de8bb1 this ignores whitespace
Signed-off-by: fbt <fbt@fleshless.org>
2018-01-08 11:52:40 +03:00
fbt
a715783fbf More cgroup stuff
Signed-off-by: fbt <fbt@fleshless.org>
2018-01-08 10:33:06 +03:00
fbt
f191b625dc rudimentary cgroup support
Signed-off-by: fbt <fbt@fleshless.org>
2018-01-08 08:07:18 +03:00
fbt
2d748aebc9 can only 'return' from a function or sourced script
Signed-off-by: fbt <fbt@fleshless.org>
2018-01-08 05:58:23 +03:00
fbt
e733ed4f6a logfile cleanup
Signed-off-by: fbt <fbt@fleshless.org>
2018-01-08 05:48:40 +03:00