From dc5450447453da8a45bc430e93fec2e3d9e7f27a Mon Sep 17 00:00:00 2001 From: Benjamin Kaduk Date: Thu, 23 Oct 2014 00:34:44 -0400 Subject: [PATCH] Use absolute paths in unit files --- debian/openafs-client.service | 12 ++++++------ debian/openafs-fileserver.service | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/debian/openafs-client.service b/debian/openafs-client.service index c8ec0dfb6..c85cb19ac 100755 --- a/debian/openafs-client.service +++ b/debian/openafs-client.service @@ -8,12 +8,12 @@ Before=remote-fs.target Type=forking ExecStartPre=/usr/share/openafs/openafs-client-precheck ExecStart=/sbin/afsd $AFSD_ARGS -ExecStartPost=fs setcrypt $AFS_SETCRYPT -ExecStartPost=fs sysname $AFS_SYSNAME -ExecStopPre=grep -qv ^1$ /proc/sys/kernel/modules_disabled -ExecStop=umount -a -t afs -ExecStop=umount -af -t afs -ExecStopPost=rmmod openafs +ExecStartPost=/ufs/bin/fs setcrypt $AFS_SETCRYPT +ExecStartPost=/usr/bin/fs sysname $AFS_SYSNAME +ExecStopPre=/bin/grep -qv ^1$ /proc/sys/kernel/modules_disabled +ExecStop=/bin/umount -a -t afs +ExecStop=/bin/umount -af -t afs +ExecStopPost=/sbin/rmmod openafs EnvironmentFile=/var/cache/openafs/openafs-client.env KillMode=none diff --git a/debian/openafs-fileserver.service b/debian/openafs-fileserver.service index 1e8f4d831..9c4ee2e24 100755 --- a/debian/openafs-fileserver.service +++ b/debian/openafs-fileserver.service @@ -7,4 +7,4 @@ After=network.target network-online.target local-fs.target Type=forking EnvironmentFile=-/etc/default/openafs-fileserver ExecStart=/usr/sbin/bosserver $DAEMON_ARGS -ExecStopPre=bos shutdown localhost -wait -localauth +ExecStopPre=/usr/bin/bos shutdown localhost -wait -localauth -- 2.39.5