Refactoring: load new / reload existing service in single function
authorDavin McCall <davmac@davmac.org>
Sun, 8 Dec 2019 03:43:59 +0000 (03:43 +0000)
committerDavin McCall <davmac@davmac.org>
Sun, 8 Dec 2019 03:43:59 +0000 (03:43 +0000)
commitc557baa486b5fc8c9a2a5b13f8f480a9ffc013d4
tree6eac0855bfd82ea8c0ddee2569ebc07e75f4251c
parent15ceae92d54c7df7ba3d39eeda60d2820e04bb46
Refactoring: load new / reload existing service in single function

Loading a new service and reloading a service share a lot of common
code, so refactor them into a single function.
src/includes/service.h
src/load-service.cc