]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
Use absolute paths in unit files
authorBenjamin Kaduk <kaduk@mit.edu>
Thu, 23 Oct 2014 04:34:44 +0000 (00:34 -0400)
committerBenjamin Kaduk <kaduk@mit.edu>
Thu, 23 Oct 2014 04:34:44 +0000 (00:34 -0400)
debian/openafs-client.service
debian/openafs-fileserver.service

index c8ec0dfb6a13a260920c1124e3dbbfa804ca76a7..c85cb19ac20a91c29fb9ffb60b8e26e108a6f7e3 100755 (executable)
@@ -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
 
index 1e8f4d8312c46aad7eba95299088258f7727197a..9c4ee2e246d93fda65fcca94408f986665037c21 100755 (executable)
@@ -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