diff options
| author | Martin Weinelt <hexa@darmstadt.ccc.de> | 2021-04-26 02:39:09 +0200 |
|---|---|---|
| committer | Martin Weinelt <hexa@darmstadt.ccc.de> | 2021-05-03 00:21:25 +0200 |
| commit | f41349d30d5e1cc72c8041616ecb8c36d56f3682 (patch) | |
| tree | 624c3013f09176278957b1d4146dc5701e580f6e /pkgs/development/python-modules/python-mapnik | |
| parent | 1dbb60f562f73cfa46d2e5ef21f9d2a98ecba565 (diff) | |
nixos/home-assistant: Restart systemd unit on restart service
Home-assistant through its `--runner` commandline flag supports sending
exit code 100 when the `homeassistant.restart` service is called.
With `RestartForceExitStatus` we can listen for that specific exit code
and restart the whole systemd unit, providing an actual clean restart
with fresh processes. Additional treat exit code 100 as a successful
termination.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik')
0 files changed, 0 insertions, 0 deletions
