Commit 7d6f0243 authored by Giacomo Strangolino's avatar Giacomo Strangolino
Browse files

meson options: added port and address

parent ca610351
......@@ -73,6 +73,12 @@ if systemd_dep.found()
if(get_option('loglev') != '')
sysd_conf.set('log_level', get_option('loglev'))
endif
if(get_option('port') != '')
sysd_conf.set('port', get_option('port'))
endif
if(get_option('address') != '')
sysd_conf.set('address', get_option('address'))
endif
if get_option('conf_file') != ''
sysd_conf.set('conf_file', '-c ' + join_paths( get_option('prefix'), get_option('conf_dir'), get_option('conf_file')))
......
option('logfile', type : 'string', value : 'syslog', description : 'output to a file (/var/log/ca3.log), syslog or console')
option('user', type : 'string', value : 'www-data', description : 'user name to drop privileges to if the service is started by root')
option('port', type : 'string', value : '9295', description : 'service bind port number')
option('address', type : 'string', value : '', description : 'service bind address; default: auto')
option('default_nginx_url', type : 'string', value : 'https://pwma-dev.elettra.eu:8443', description : 'http[s]://host.executing.nginx:listen_port nginx host + listen port, without trailing /pub. See nginx.conf. Used to generate systemd service unit')
option('logdir', type : 'string', value : 'log', description : 'log dir, under install prefix. Default $prefix/log')
option('logfile', type : 'string', value : 'casupervisor.log', description : '[systemd] output to a file (under logdir), syslog or console')
......
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