service: do not restart instances if data changes
authorFelix Fietkau <nbd@nbd.name>
Wed, 19 Oct 2016 12:09:10 +0000 (14:09 +0200)
committerFelix Fietkau <nbd@nbd.name>
Wed, 19 Oct 2016 12:09:24 +0000 (14:09 +0200)
commitd80aaf4dc5ab00d65c0ae40dd7d6006155caa33b
tree051dc6aa19803ccdab8f1bcbf6e0e9f0c703832e
parent29d2adb14bb1e9715b1391d2724b281d01ef8d0a
service: do not restart instances if data changes

Drop in->data from instance_config_changed() checks.

So far, procd_open_data is always used in places for passing data to
other services, not for triggering restarts on specific changes.
With this change it is possible to use this behavior more explicitly
while avoiding unnecessary restarts

Signed-off-by: Felix Fietkau <nbd@nbd.name>
service/instance.c