summaryrefslogtreecommitdiffstats
path: root/units/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'units/meson.build')
-rw-r--r--units/meson.build8
1 files changed, 8 insertions, 0 deletions
diff --git a/units/meson.build b/units/meson.build
index 3dfb9853f6..957153c0b5 100644
--- a/units/meson.build
+++ b/units/meson.build
@@ -307,4 +307,12 @@ foreach tuple : m4_in_units
endif
endforeach
+if conf.get('HAVE_SYSV_COMPAT', 0) == 1
+ foreach i : [1, 2, 3, 4, 5]
+ meson.add_install_script('sh', '-c',
+ mkdir_p
+ .format(systemunitdir + '/runlevel@0@.target.wants'.format(i)))
+ endforeach
+endif
+
subdir('user')