Changeset 50d0a72


Ignore:
Timestamp:
2023-03-07T21:21:34Z (14 months ago)
Author:
GitHub <noreply@…>
Branches:
master
Children:
bea6db0
Parents:
82149f4
git-author:
Petr Vaněk <arkamar@…> (07-03-23 21:21:34)
git-committer:
GitHub <noreply@…> (07-03-23 21:21:34)
Message:

Improve control over automatic properties of Systemd configuration (#174)

  • configure: fix indentation
  • configure: improve description of --systemd option
  • configure: unify --sysusersdir usage style
  • configure: allow to set systemd dirs without autodetection dependencies
File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure

    r82149f4 r50d0a72  
    131131--plugindir=...                                         $plugindir
    132132--systemdsystemunitdir=...                              $systemdsystemunitdir
    133 --sysusersdir                       $sysusersdir
     133--sysusersdir=...                                       $sysusersdir
    134134--pidfile=...                                           $pidfile
    135135--config=...                                            $config
     
    160160                                                        $ssl
    161161--external_json_parser=0/1/auto Use External JSON parser $external_json_parser
    162 --systemd=0/1  Enable/disable systemd support $systemd
     162--systemd=0/1   Enable/disable automatic detection
     163                of systemd directories                  $systemd
    163164
    164165
     
    773774                systemdsystemunitdir=$(pkgconf_systemd_var systemdsystemunitdir systemd_system_unit_dir)
    774775        fi
    775     if [ -z "$sysusersdir" ] ; then
    776         sysusersdir=$(pkgconf_systemd_var sysusersdir sysusers_dir)
    777     fi
    778 
     776        if [ -z "$sysusersdir" ] ; then
     777                sysusersdir=$(pkgconf_systemd_var sysusersdir sysusers_dir)
     778        fi
     779fi
     780
     781if [ -n "$systemdsystemunitdir" ]; then
    779782        echo "SYSTEMDSYSTEMUNITDIR=$systemdsystemunitdir" >> Makefile.settings
    780     echo "SYSUSERSDIR=$sysusersdir" >> Makefile.settings
     783fi
     784if [ -n "$sysusersdir" ]; then
     785        echo "SYSUSERSDIR=$sysusersdir" >> Makefile.settings
    781786fi
    782787
     
    10321037
    10331038if [ "$systemd" = "1" ]; then
    1034         echo '  systemd enabled.'
    1035 else
    1036         echo '  systemd disabled.'
     1039        echo '  systemd autodetection enabled.'
     1040else
     1041        echo '  systemd autodetection disabled.'
    10371042fi
    10381043
Note: See TracChangeset for help on using the changeset viewer.