Otherwise, if the options are such that there are no userland threads
that stick around (as would happen for -afsdb), systemd thinks that
we have finished, and runs the stop commands right away.
Thanks to Andrew Deason for noticing the issue at upstream.
* Make openafs-client Before=umount.target for improved shutdown
behavior. (Affects: #760063)
+ * Mark openafs-client.service as RemainAfterExit=true. (Closes: #770815)
-- Benjamin Kaduk <kaduk@mit.edu> Thu, 06 Nov 2014 15:16:17 -0500
[Service]
Type=forking
+RemainAfterExit=true
ExecStartPre=/usr/share/openafs/openafs-client-precheck
ExecStart=/sbin/afsd $AFSD_ARGS
ExecStartPost=/usr/bin/fs setcrypt $AFS_SETCRYPT