Commit d82fea3d authored by Tomas Krizek's avatar Tomas Krizek

meson: systemd - abandon user_mode

parent 511e3c6c
......@@ -86,8 +86,6 @@ if opt_systemd != 'disabled'
endif
message('---------------------------')
endif
# TODO systemd_user_mode
systemd_user_mode = false
# TODO use var instead
add_global_arguments(
......@@ -169,7 +167,6 @@ endif
summary_managed_ta = managed_ta ? 'enabled' : 'disabled'
summary_systemd = systemd ? 'enabled' : 'disabled'
summary_systemd_socket = systemd_socket ? 'enabled' : 'disabled'
summary_systemd_user_mode = systemd_user_mode ? 'enabled' : 'disabled'
summary_build_client = build_client ? 'enabled' : 'disabled'
summary_build_daemon = build_daemon ? 'enabled' : 'disabled'
summary_build_doc = build_doc ? 'enabled' : 'disabled'
......@@ -190,9 +187,7 @@ message('''
systemd: @0@'''.format(summary_systemd) + '''
socket activation: @0@'''.format(summary_systemd_socket) + '''
user mode: @0@'''.format(summary_systemd_user_mode) + '''
work_dir: @0@'''.format(systemd_work_dir) + '''
run_dir: @0@'''.format(run_dir) + '''
components
client: @0@'''.format(summary_build_client) + '''
......
......@@ -53,13 +53,6 @@ option(
description: 'create systemd unit files',
)
option(
'systemd_user_mode',
type: 'feature',
value: 'disabled',
description: 'use systemd user mode (for debug/testing)',
)
# Component options
option(
......
# systemd
## paths
# TODO user mode; prefix==/usr/local
systemd_work_dir = join_paths(
prefix, get_option('localstatedir'), 'cache', 'knot-resolver')
run_dir = join_paths('/run', 'knot-resolver')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment