Ideas for triggering updates?

From: fREW Schmidt <>
Date: Sun, 24 Jan 2016 10:12:16 -0800

I've been enjoying using UCSPI based services because updates become
*pretty* simple. For example here's the code I use to update my git
based project automatically:

  system qw(git fetch);
  system qw(git reset --hard _at_{upstream});


The problem is, if one of the services `run` files changes this will
not affect the running services (which includes the www service.) I
know I could force the running supervisor (runsvdir currently) to
restart but the http response would end up being a 502 because the www
service would exit before writing the response.

Anyone have any ideas or nice patterns for this?

fREW Schmidt
Received on Sun Jan 24 2016 - 18:12:16 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:44:19 UTC