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

Last change on this file since 2698 was 2170, checked in by ezyang, 12 years ago
Port csdb patch to systemd, and include mousetrap db.
File size: 622 bytes
RevLine 
[2170]1--- a/src/packaging/RedHat/openafs-client.service       2012-03-26 17:04:18.177919348 -0400
2+++ b/src/packaging/RedHat/openafs-client.service       2012-03-26 17:15:17.206630779 -0400
3@@ -6,7 +6,7 @@
4 [Service]
5 Type=forking
6 EnvironmentFile=/etc/sysconfig/openafs
7-ExecStartPre=/bin/sed -n 'w/usr/vice/etc/CellServDB' /usr/vice/etc/CellServDB.local /usr/vice/etc/CellServDB.dist
8+ExecStartPre=-/bin/sed -n 'w/usr/vice/etc/CellServDB' /usr/vice/etc/CellServDB.local /usr/vice/etc/CellServDB.mousetrap
9 ExecStartPre=/bin/chmod 0644 /usr/vice/etc/CellServDB
10 ExecStartPre=/sbin/modprobe openafs
11 ExecStart=/usr/vice/etc/afsd $AFSD_ARGS
Note: See TracBrowser for help on using the repository browser.