activation: Add support for enforcing strict naming on .service files
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Fri, 17 Feb 2017 15:40:34 +0000 (15:40 +0000)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Tue, 21 Feb 2017 13:23:37 +0000 (13:23 +0000)
commitb2be1400de81c12cf6e39e0f5f48e250c9322e52
tree4ebf76862a4fb40fb58454fbd9ed55def9c87bc8
parent11c23a460c05b18d29083faac683bb78d20cdc5a
activation: Add support for enforcing strict naming on .service files

This is done on a per-directory basis.

The use of the BusContext here means we have to make the activation
test a little more realistic, by providing a non-NULL BusContext.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=99825
Reviewed-by: Philip Withnall <withnall@endlessm.com>
Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
bus/activation.c
bus/config-parser.h