mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-07-23 15:37:58 +02:00
Closes: https://bugs.gentoo.org/943361 Closes: https://bugs.gentoo.org/933779 Closes: https://bugs.gentoo.org/910214 Closes: https://bugs.gentoo.org/886183 Closes: https://bugs.gentoo.org/908700 Closes: https://bugs.gentoo.org/909327 Closes: https://bugs.gentoo.org/828989 Closes: https://bugs.gentoo.org/926801 Signed-off-by: Cheyenne Wills <cwills@witznd.net> Closes: https://github.com/gentoo/gentoo/pull/39306 Signed-off-by: Sam James <sam@gentoo.org>
17 lines
600 B
Desktop File
17 lines
600 B
Desktop File
[Unit]
|
|
Description=OpenAFS Client Service
|
|
After=network.target remote-fs.target nss-lookup.target
|
|
|
|
[Service]
|
|
Type=forking
|
|
ExecStartPre=/bin/sh -c "/bin/mkdir -p $(cut -d : -f 2 /etc/openafs/cacheinfo)"
|
|
ExecStartPre=/bin/sh -c "fs sysname > /dev/null 2>/dev/null; test $? -ne 0 || (echo AFS client appears to be running -- not starting && exit 1)"
|
|
ExecStartPre=/sbin/modprobe libafs
|
|
ExecStart=/usr/sbin/afsd $AFSD_ARGS $AFSD_CACHE_ARGS
|
|
ExecStop=/bin/umount /afs
|
|
ExecStopPost=/usr/sbin/afsd -shutdown
|
|
ExecStopPost=/sbin/rmmod libafs
|
|
KillMode=none
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target remote-fs.target
|