systemd_user_dir = join_paths(get_option('prefix'), 'lib/systemd/user')
endif
+if get_option('systemd_system_dir') != 'default'
+ systemd_system_dir = get_option('systemd_system_dir')
+else
+ systemd_system_dir = join_paths(get_option('prefix'), 'lib/systemd/system')
+endif
+
# Dependencies
libdbus_req_version = '>= 1.5'
glib_req_version = '>= 2.32.0'