Ignore:
Timestamp:
08/01/2015 04:26:22 AM (9 years ago)
Author:
Douglas R. Reno <renodr@…>
Branches:
systemd-13485
Children:
ad6910d
Parents:
4a83293
Message:

Import back into SVN from Github

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@16309 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • systemd-units/Makefile

    r4a83293 rac38e9dc  
    3838        install -m ${CONFMODE} blfs/units/acpid.service ${UNITSDIR}/
    3939        install -m ${CONFMODE} blfs/units/acpid.socket ${UNITSDIR}/
    40         systemctl enable acpid.socket
     40        test -n "${DESTDIR}" || systemctl enable acpid.socket
    4141
    4242install-dhclient: create-dirs
     
    4949        install -m ${CONFMODE} blfs/default/dhcpd ${DEFAULTSDIR}/
    5050        install -m ${CONFMODE} blfs/units/dhcpd.service ${UNITSDIR}/
    51         systemctl enable dhcpd.service
     51        test -n "${DESTDIR}" || systemctl enable dhcpd.service
    5252
    5353install-exim: create-dirs
    5454        install -m ${CONFMODE} blfs/units/exim.service ${UNITSDIR}/
    55         systemctl enable exim.service
     55        test -n "${DESTDIR}" || systemctl enable exim.service
    5656
    5757install-git: create-dirs
    5858        install -m ${CONFMODE} blfs/units/git-daemonat.service ${UNITSDIR}/git-daemon@.service
    5959        install -m ${CONFMODE} blfs/units/git-daemon.socket ${UNITSDIR}/
    60         systemctl enable git-daemon.socket
     60        test -n "${DESTDIR}" || systemctl enable git-daemon.socket
    6161
    6262install-gpm: create-dirs
    6363        install -m ${CONFMODE} blfs/units/gpm.service ${UNITSDIR}/
    64         systemctl enable gpm.service
     64        test -n "${DESTDIR}" || systemctl enable gpm.service
    6565
    6666install-haveged: create-dirs
    6767        install -m ${CONFMODE} blfs/units/haveged.service ${UNITSDIR}/
    68         systemctl enable haveged.service
     68        test -n "${DESTDIR}" || systemctl enable haveged.service
    6969
    7070install-httpd: create-dirs
     
    7272        install -m ${CONFMODE} blfs/units/httpd.service ${UNITSDIR}/
    7373        systemd-tmpfiles --create httpd.conf
    74         systemctl enable httpd.service
     74        test -n "${DESTDIR}" || systemctl enable httpd.service
    7575
    7676install-iptables: create-dirs
    7777        install -m ${CONFMODE} blfs/units/iptables.service ${UNITSDIR}/
    78         systemctl enable iptables.service
     78        test -n "${DESTDIR}" || systemctl enable iptables.service
    7979
    8080install-kdm: create-dirs
    8181        install -m ${CONFMODE} blfs/units/kdm.service ${UNITSDIR}/
    82         systemctl enable kdm.service
     82        test -n "${DESTDIR}" || systemctl enable kdm.service
    8383
    8484install-krb5: create-dirs
     
    8686        install -m ${CONFMODE} blfs/units/krb5-kpropd.service ${UNITSDIR}/
    8787        install -m ${CONFMODE} blfs/units/krb5-kadmind.service ${UNITSDIR}/
    88         systemctl enable krb5-kdc.service
    89         systemctl enable krb5-kpropd.service
    90         systemctl enable krb5-kadmind.service
     88        test -n "${DESTDIR}" || systemctl enable krb5-kdc.service
     89        test -n "${DESTDIR}" || systemctl enable krb5-kpropd.service
     90        test -n "${DESTDIR}" || systemctl enable krb5-kadmind.service
    9191
    9292install-mysqld: create-dirs
     
    9494        install -m ${CONFMODE} blfs/units/mysqld.service ${UNITSDIR}/
    9595        systemd-tmpfiles --create mysqld.conf
    96         systemctl enable mysqld.service
     96        test -n "${DESTDIR}" || systemctl enable mysqld.service
    9797
    9898install-named: create-dirs
     
    100100        install -m ${CONFMODE} blfs/units/named.service ${UNITSDIR}/
    101101        systemd-tmpfiles --create named.conf
    102         systemctl enable named.service
     102        test -n "${DESTDIR}" || systemctl enable named.service
    103103
    104104install-nfs-client: create-dirs
    105105        install -m ${CONFMODE} blfs/default/nfs-utils ${DEFAULTSDIR}/
    106106        install -m ${CONFMODE} blfs/units/rpc-statd.service ${UNITSDIR}/
     107        install -m ${CONFMODE} blfs/units/rpc-statd-notify.service ${UNITSDIR}/
     108        install -m ${CONFMODE} blfs/units/nfs-client.service ${UNITSDIR}/
    107109        install -m ${CONFMODE} blfs/units/nfs-client.target ${UNITSDIR}/
    108         systemctl enable rpc-statd.service
     110        test -n "${DESTDIR}" || systemctl enable nfs-client.target
    109111
    110112install-nfs-server: install-nfs-client
    111         install -m ${CONFMODE} blfs/units/nfsd.service ${UNITSDIR}/
     113        install -m ${CONFMODE} blfs/units/nfs-server.service ${UNITSDIR}/
    112114        install -m ${CONFMODE} blfs/units/rpc-mountd.service ${UNITSDIR}/
    113         install -m ${CONFMODE} blfs/units/nfs-server.target ${UNITSDIR}/
    114115        install -m ${CONFMODE} blfs/units/proc-fs-nfsd.mount ${UNITSDIR}/
    115         systemctl enable nfsd.service
    116         systemctl enable rpc-mountd.service
     116        test -n "${DESTDIR}" || systemctl enable nfs-server.service
     117
     118install-nfsv4-server: install-nfs-server
     119        install -m ${CONFMODE} blfs/units/rpc-idmapd.service ${UNITSDIR}/
     120        install -m ${CONFMODE} blfs/units/var-lib-nfs-rpc_pipefs.mount ${UNITSDIR}/
    117121
    118122install-ntpd: create-dirs
    119123        install -m ${CONFMODE} blfs/units/ntpd.service ${UNITSDIR}/
    120124        install -d -m ${DIRMODE} ${DESTDIR}/usr/lib/systemd/ntp-units.d
    121         systemctl enable ntpd.service
     125        test -n "${DESTDIR}" || systemctl enable ntpd.service
    122126
    123127install-php-fpm: create-dirs
    124128        install -m ${CONFMODE} blfs/units/php-fpm.service ${UNITSDIR}/
    125         systemctl enable php-fpm.service
     129        test -n "${DESTDIR}" || systemctl enable php-fpm.service
    126130
    127131install-postfix: create-dirs
    128132        install -m ${CONFMODE} blfs/units/postfix.service ${UNITSDIR}/
    129         systemctl enable postfix.service
     133        test -n "${DESTDIR}" || systemctl enable postfix.service
    130134
    131135install-postgresql: create-dirs
     
    133137        install -m ${CONFMODE} blfs/units/postgresql.service ${UNITSDIR}/
    134138        systemd-tmpfiles --create postgresql.conf
    135         systemctl enable postgresql.service
     139        test -n "${DESTDIR}" || systemctl enable postgresql.service
    136140
    137141install-proftpd: create-dirs
    138142        install -m ${CONFMODE} blfs/units/proftpd.service ${UNITSDIR}/
    139         systemctl enable proftpd.service
     143        test -n "${DESTDIR}" || systemctl enable proftpd.service
    140144
    141145install-rpcbind: create-dirs
    142146        install -m ${CONFMODE} blfs/units/rpcbind.service ${UNITSDIR}/
    143         systemctl enable rpcbind.service
     147        install -m ${CONFMODE} blfs/units/rpcbind.socket ${UNITSDIR}/
     148        test -n "${DESTDIR}" || systemctl enable rpcbind.socket
    144149
    145150install-rsyncd: create-dirs
     
    147152        install -m ${CONFMODE} blfs/units/rsyncdat.service ${UNITSDIR}/rsyncd@.service
    148153        install -m ${CONFMODE} blfs/units/rsyncd.socket ${UNITSDIR}/
    149         systemctl enable rsyncd.service
     154        test -n "${DESTDIR}" || systemctl enable rsyncd.service
    150155
    151156install-samba: create-dirs
     
    157162        install -m ${CONFMODE} blfs/units/smbd.socket ${UNITSDIR}/
    158163        systemd-tmpfiles --create samba.conf
    159         systemctl enable nmbd.service
    160         systemctl enable smbd.service
     164        test -n "${DESTDIR}" || systemctl enable nmbd.service
     165        test -n "${DESTDIR}" || systemctl enable smbd.service
    161166
    162167install-saslauthd: create-dirs
     
    165170        install -m ${CONFMODE} blfs/units/saslauthd.service ${UNITSDIR}/
    166171        systemd-tmpfiles --create saslauthd.conf
    167         systemctl enable saslauthd.service
     172        test -n "${DESTDIR}" || systemctl enable saslauthd.service
    168173
    169174install-sendmail: create-dirs
     
    171176        install -m ${CONFMODE} blfs/units/sm-client.service ${UNITSDIR}/
    172177        install -m ${CONFMODE} blfs/units/sendmail.service ${UNITSDIR}/
    173         systemctl enable sendmail.service
     178        test -n "${DESTDIR}" || systemctl enable sendmail.service
    174179
    175180install-slapd: create-dirs
     
    178183        install -m ${CONFMODE} blfs/units/slapd.service ${UNITSDIR}/
    179184        systemd-tmpfiles --create slapd.conf
    180         systemctl enable slapd.service
     185        test -n "${DESTDIR}" || systemctl enable slapd.service
    181186
    182187install-sshd: create-dirs
     
    184189        install -m ${CONFMODE} blfs/units/sshdat.service ${UNITSDIR}/sshd@.service
    185190        install -m ${CONFMODE} blfs/units/sshd.socket ${UNITSDIR}/
    186         systemctl enable sshd.service
     191        test -n "${DESTDIR}" || systemctl enable sshd.service
    187192
    188193install-svnserve: create-dirs
     
    191196        install -m ${CONFMODE} blfs/units/svnserve.service ${UNITSDIR}/
    192197        systemd-tmpfiles --create svnserve.conf
    193         systemctl enable svnserve.service
     198        test -n "${DESTDIR}" || systemctl enable svnserve.service
    194199
    195200install-unbound: create-dirs
    196201        install -m ${CONFMODE} blfs/units/unbound.service ${UNITSDIR}/
    197         systemctl enable unbound.service
     202        test -n "${DESTDIR}" || systemctl enable unbound.service
    198203
    199204install-vsftpd: create-dirs
    200205        install -m ${CONFMODE} blfs/units/vsftpd.service ${UNITSDIR}/
    201         systemctl enable vsftpd.service
     206        test -n "${DESTDIR}" || systemctl enable vsftpd.service
    202207
    203208install-winbindd: install-samba
    204209        install -m ${CONFMODE} blfs/units/winbindd.service ${UNITSDIR}/
    205         systemctl enable winbindd.service
     210        test -n "${DESTDIR}" || systemctl enable winbindd.service
    206211
    207212install-xinetd: create-dirs
    208213        install -m ${CONFMODE} blfs/units/xinetd.service ${UNITSDIR}/
    209         systemctl enable xinetd.service
     214        test -n "${DESTDIR}" || systemctl enable xinetd.service
    210215
    211216uninstall-acpid:
    212         systemctl stop acpid.service
    213         systemctl disable acpid.socket
     217        test -n "${DESTDIR}" || systemctl stop acpid.service
     218        test -n "${DESTDIR}" || systemctl disable acpid.socket
    214219        rm -f ${UNITSDIR}/acpid.service ${UNITSDIR}/acpid.socket
    215220
     
    221226
    222227uninstall-dhcpd:
    223         systemctl stop dhcpd.service
    224         systemctl disable dhcpd.service
     228        test -n "${DESTDIR}" || systemctl stop dhcpd.service
     229        test -n "${DESTDIR}" || systemctl disable dhcpd.service
    225230        rm -f ${DEFAULTSDIR}/dhcpd ${UNITSDIR}/dhcpd.service
    226231
    227232uninstall-exim:
    228         systemctl stop exim.service
    229         systemctl disable exim.service
     233        test -n "${DESTDIR}" || systemctl stop exim.service
     234        test -n "${DESTDIR}" || systemctl disable exim.service
    230235        rm -f ${UNITSDIR}/exim.service
    231236
    232237uninstall-git:
    233         systemctl stop git-daemon.socket
    234         systemctl disable git-daemon.socket
     238        test -n "${DESTDIR}" || systemctl stop git-daemon.socket
     239        test -n "${DESTDIR}" || systemctl disable git-daemon.socket
    235240        rm -f ${UNITSDIR}/git-daemon@.service ${UNITSDIR}/git-daemon.socket
    236241
    237242uninstall-gpm:
    238         systemctl stop gpm.service
    239         systemctl disable gpm.service
     243        test -n "${DESTDIR}" || systemctl stop gpm.service
     244        test -n "${DESTDIR}" || systemctl disable gpm.service
    240245        rm -f ${UNITSDIR}/gpm.service
    241246
    242247uninstall-haveged:
    243         systemctl stop haveged.service
    244         systemctl disable haveged.service
     248        test -n "${DESTDIR}" || systemctl stop haveged.service
     249        test -n "${DESTDIR}" || systemctl disable haveged.service
    245250        rm -f ${UNITSDIR}/haveged.service
    246251
    247252uninstall-httpd:
    248         systemctl stop httpd.service
    249         systemctl disable httpd.service
     253        test -n "${DESTDIR}" || systemctl stop httpd.service
     254        test -n "${DESTDIR}" || systemctl disable httpd.service
    250255        rm -f ${TMPFILESDIR}/httpd.conf ${UNITSDIR}/httpd.service
    251256
    252257uninstall-iptables:
    253         systemctl disable iptables.service
     258        test -n "${DESTDIR}" || systemctl disable iptables.service
    254259        rm -f ${UNITSDIR}/iptables.service
    255260
    256261uninstall-kdm:
    257         systemctl stop kdm.service
    258         systemctl disable kdm.service
     262        test -n "${DESTDIR}" || systemctl stop kdm.service
     263        test -n "${DESTDIR}" || systemctl disable kdm.service
    259264        rm -f ${UNITSDIR}/kdm.service
    260265
    261266uninstall-krb5:
    262         systemctl stop krb5-kadmind.service
    263         systemctl stop krb5-kpropd.service
    264         systemctl stop krb5-kdc.service
    265         systemctl disable krb5-kadmind.service
    266         systemctl disable krb5-kpropd.service
    267         systemctl disable krb5-kdc.service
     267        test -n "${DESTDIR}" || systemctl stop krb5-kadmind.service
     268        test -n "${DESTDIR}" || systemctl stop krb5-kpropd.service
     269        test -n "${DESTDIR}" || systemctl stop krb5-kdc.service
     270        test -n "${DESTDIR}" || systemctl disable krb5-kadmind.service
     271        test -n "${DESTDIR}" || systemctl disable krb5-kpropd.service
     272        test -n "${DESTDIR}" || systemctl disable krb5-kdc.service
    268273        rm -f ${UNITSDIR}/krb5-kadmind.service ${UNITSDIR}/krb5-kpropd.service ${UNITSDIR}/krb5-kdc.service
    269274
    270275uninstall-mysqld:
    271         systemctl stop mysqld.service
    272         systemctl disable mysqld.service
     276        test -n "${DESTDIR}" || systemctl stop mysqld.service
     277        test -n "${DESTDIR}" || systemctl disable mysqld.service
    273278        rm -f ${TMPFILESDIR}/mysqld.conf ${UNITSDIR}/mysqld.service
    274279
    275280uninstall-named:
    276         systemctl stop named.service
    277         systemctl disable named.service
     281        test -n "${DESTDIR}" || systemctl stop named.service
     282        test -n "${DESTDIR}" || systemctl disable named.service
    278283        rm -f ${TMPFILESDIR}/named.conf ${UNITSDIR}/named.service
    279284
    280285uninstall-nfs-client: uninstall-nfs-server
    281         systemctl stop rpc-statd.service
    282         systemctl disable rpc-statd.service
    283         systemctl disable nfs-client.target
    284         rm -f ${DEFAULTSDIR}/nfs-utils ${UNITSDIR}/rpc-statd.service
    285         rm -f ${UNITSDIR}/nfs-client.target
    286 
    287 uninstall-nfs-server:
    288         [ -e ${UNITSDIR}/rpc-mountd.service ] && systemctl stop rpc-mountd.service
    289         [ -e ${UNITSDIR}/nfsd.service ] && systemctl stop nfsd.service
    290         systemctl disable rpc-mountd.service
    291         systemctl disable nfsd.service
    292         systemctl disable nfs-server.target
    293         rm -f ${UNITSDIR}/nfsd.service ${UNITSDIR}/rpc-mountd.service
    294         rm -f ${UNITSDIR}/nfs-server.target ${UNITSDIR}/proc-fs-nfsd.mount
     286        test -n "${DESTDIR}" || systemctl stop nfs-client.target
     287        test -n "${DESTDIR}" || systemctl disable nfs-client.target
     288        rm -f ${DEFAULTSDIR}/nfs-utils ${UNITSDIR}/nfs-client.target
     289        rm -f ${UNITSDIR}/nfs-client.service ${UNITSDIR}/rpc-statd.service ${UNITSDIR}/rpc-statd-notify.service
     290
     291uninstall-nfs-server: uninstall-nfsv4-server
     292        if [[ -z "${DESTDIR}" ]]; then test -e "${UNITSDIR}/nfs-server.service" && systemctl stop nfs-server.service; fi
     293        if [[ -z "${DESTDIR}" ]]; then test -e "${UNITSDIR}/nfs-server.service" && systemctl disable nfs-server.service; fi
     294        rm -f ${UNITSDIR}/nfs-server.service ${UNITSDIR}/rpc-mountd.service
     295        rm -f ${UNITSDIR}/proc-fs-nfsd.mount
     296
     297uninstall-nfsv4-server:
     298        rm -f ${UNITSDIR}/rpc-idmapd.service
     299        rm -f ${UNITSDIR}/var-lib-nfs-rpc_pipefs.mount
    295300
    296301uninstall-ntpd:
    297         systemctl stop ntpd.service
    298         systemctl disable ntpd.service
     302        test -n "${DESTDIR}" || systemctl stop ntpd.service
     303        test -n "${DESTDIR}" || systemctl disable ntpd.service
    299304        rm -f ${UNITSDIR}/ntpd.service
    300305
    301306uninstall-php-fpm:
    302         systemctl stop php-fpm.service
    303         systemctl disable php-fpm.service
     307        test -n "${DESTDIR}" || systemctl stop php-fpm.service
     308        test -n "${DESTDIR}" || systemctl disable php-fpm.service
    304309        rm -f ${UNITSDIR}/php-fpm.service
    305310
    306311uninstall-postfix:
    307         systemctl stop postfix.service
    308         systemctl disable postfix.service
     312        test -n "${DESTDIR}" || systemctl stop postfix.service
     313        test -n "${DESTDIR}" || systemctl disable postfix.service
    309314        rm -f ${UNITSDIR}/postfix.service
    310315
    311316uninstall-postgresql:
    312         systemctl stop postgresql.service
    313         systemctl disable postgresql.service
     317        test -n "${DESTDIR}" || systemctl stop postgresql.service
     318        test -n "${DESTDIR}" || systemctl disable postgresql.service
    314319        rm -f ${TMPFILESDIR}/postgresql.conf ${UNITSDIR}/postgresql.service
    315320
    316321uninstall-proftpd:
    317         systemctl stop proftpd.service
    318         systemctl disable proftpd.service
     322        test -n "${DESTDIR}" || systemctl stop proftpd.service
     323        test -n "${DESTDIR}" || systemctl disable proftpd.service
    319324        rm -f ${UNITSDIR}/proftpd.service
    320325
    321326uninstall-rpcbind:
    322         systemctl stop rpcbind.service
    323         systemctl disable rpcbind.service
    324         rm -f ${UNITSDIR}/rpcbind.service
     327        test -n "${DESTDIR}" || systemctl stop rpcbind.socket
     328        test -n "${DESTDIR}" || systemctl disable rpcbind.socket
     329        rm -f ${UNITSDIR}/rpcbind.service ${UNITSDIR}/rpcbind.socket
    325330
    326331uninstall-rsyncd:
    327         systemctl stop rsyncd.socket
    328         systemctl stop rsyncd.service
     332        test -n "${DESTDIR}" || systemctl stop rsyncd.socket
     333        test -n "${DESTDIR}" || systemctl stop rsyncd.service
    329334        rm -f ${UNITSDIR}/rsyncd.service ${UNITSDIR}/rsyncd@.service
    330335        rm -f ${UNITSDIR}/rsyncd.socket
    331336
    332337uninstall-samba: uninstall-winbindd
    333         systemctl stop smbd.socket
    334         systemctl stop smbd.service
    335         systemctl stop nmbd.service
    336         systemctl disable smbd.socket
    337         systemctl disable smbd.service
    338         systemctl disable nmbd.service
     338        test -n "${DESTDIR}" || systemctl stop smbd.socket
     339        test -n "${DESTDIR}" || systemctl stop smbd.service
     340        test -n "${DESTDIR}" || systemctl stop nmbd.service
     341        test -n "${DESTDIR}" || systemctl disable smbd.socket
     342        test -n "${DESTDIR}" || systemctl disable smbd.service
     343        test -n "${DESTDIR}" || systemctl disable nmbd.service
    339344        rm -f ${DEFAULTSDIR}/samba ${TMPFILESDIR}/samba.conf ${UNITSDIR}/nmbd.service
    340345        rm -f ${UNITSDIR}/smbd.service ${UNITSDIR}/smbd@.service ${UNITSDIR}/smbd.socket
    341346
    342347uninstall-saslauthd:
    343         systemctl stop saslauthd.service
    344         systemctl disable saslauthd.service
     348        test -n "${DESTDIR}" || systemctl stop saslauthd.service
     349        test -n "${DESTDIR}" || systemctl disable saslauthd.service
    345350        rm -f ${DEFAULTSDIR}/saslauthd ${TMPFILESDIR}/saslauthd.conf ${UNITSDIR}/saslauthd.service
    346351
    347352uninstall-sendmail:
    348         systemctl stop sendmail.service
    349         systemctl disable sendmail.service
     353        test -n "${DESTDIR}" || systemctl stop sendmail.service
     354        test -n "${DESTDIR}" || systemctl disable sendmail.service
    350355        rm -f ${DEFAULTSDIR}/sendmail ${UNITSDIR}/sm-client.service ${UNITSDIR}/sendmail.service
    351356
    352357uninstall-slapd:
    353         systemctl stop slapd.service
    354         systemctl disable slapd.service
     358        test -n "${DESTDIR}" || systemctl stop slapd.service
     359        test -n "${DESTDIR}" || systemctl disable slapd.service
    355360        rm -f ${DEFAULTSDIR}/slapd ${TMPFILESDIR}/slapd.conf ${UNITSDIR}/slapd.service
    356361
    357362uninstall-sshd:
    358         systemctl stop sshd.socket
    359         systemctl stop sshd.service
    360         systemctl disable sshd.socket
    361         systemctl disable sshd.service
     363        test -n "${DESTDIR}" || systemctl stop sshd.socket
     364        test -n "${DESTDIR}" || systemctl stop sshd.service
     365        test -n "${DESTDIR}" || systemctl disable sshd.socket
     366        test -n "${DESTDIR}" || systemctl disable sshd.service
    362367        rm -f ${UNITSDIR}/sshd.service ${UNITSDIR}/sshd@.service ${UNITSDIR}/sshd.socket
    363368
    364369uninstall-svnserve:
    365         systemctl stop svnserve.service
    366         systemctl disable svnserve.service
     370        test -n "${DESTDIR}" || systemctl stop svnserve.service
     371        test -n "${DESTDIR}" || systemctl disable svnserve.service
    367372        rm -f ${DEFAULTSDIR}/svnserve ${TMPFILESDIR}/svnserve.conf ${UNITSDIR}/svnserve.service
    368373
    369374uninstall-unbound:
    370         systemctl stop unbound.service
    371         systemctl disable unbound.service
     375        test -n "${DESTDIR}" || systemctl stop unbound.service
     376        test -n "${DESTDIR}" || systemctl disable unbound.service
    372377        rm -f ${UNITSDIR}/unbound.service
    373378
    374379uninstall-vsftpd:
    375         systemctl stop vsftpd.service
    376         systemctl disable vsftpd.service
     380        test -n "${DESTDIR}" || systemctl stop vsftpd.service
     381        test -n "${DESTDIR}" || systemctl disable vsftpd.service
    377382        rm -f ${UNITSDIR}/vsftpd.service
    378383
    379384uninstall-winbindd:
    380         systemctl stop winbindd.service
    381         systemctl disable winbindd.service
     385        test -n "${DESTDIR}" || systemctl stop winbindd.service
     386        test -n "${DESTDIR}" || systemctl disable winbindd.service
    382387        rm -f ${UNITSDIR}/winbindd.service
    383388
    384389uninstall-xinetd:
    385         systemctl stop xinetd.service
    386         systemctl disable xinetd.service
     390        test -n "${DESTDIR}" || systemctl stop xinetd.service
     391        test -n "${DESTDIR}" || systemctl disable xinetd.service
    387392        rm -f ${UNITSDIR}/xinetd.service
    388393
     
    403408        install-nfs-client \
    404409        install-nfs-server \
     410        install-nfsv4-server \
    405411        install-ntp \
    406412        install-php-fpm \
     
    435441        uninstall-nfs-client \
    436442        uninstall-nfs-server \
     443        uninstall-nfsv4-server \
    437444        uninstall-ntpd \
    438445        uninstall-php-fpm \
Note: See TracChangeset for help on using the changeset viewer.