source: trunk/server/common/patches/openafs-systemd-csdb.patch

Last change on this file was 2170, checked in by ezyang, 11 years ago
Port csdb patch to systemd, and include mousetrap db.
File size: 622 bytes
  • src/packaging/RedHat/openafs-client.service

    a b  
    66[Service]
    77Type=forking
    88EnvironmentFile=/etc/sysconfig/openafs
    9 ExecStartPre=/bin/sed -n 'w/usr/vice/etc/CellServDB' /usr/vice/etc/CellServDB.local /usr/vice/etc/CellServDB.dist
     9ExecStartPre=-/bin/sed -n 'w/usr/vice/etc/CellServDB' /usr/vice/etc/CellServDB.local /usr/vice/etc/CellServDB.mousetrap
    1010ExecStartPre=/bin/chmod 0644 /usr/vice/etc/CellServDB
    1111ExecStartPre=/sbin/modprobe openafs
    1212ExecStart=/usr/vice/etc/afsd $AFSD_ARGS
Note: See TracBrowser for help on using the repository browser.