source: tags/fc15-eol/server/common/patches/openafs-systemd-csdb.patch @ 2517

Last change on this file since 2517 was 2170, checked in by ezyang, 13 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.