blob: 8606b28094b0289eef53d3da31d098c8baddc1c7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
[Unit]
Description=OpenAFS Client Service
After=network.target remote-fs.target nss-lookup.target
[Service]
Type=oneshot
EnvironmentFile=/etc/conf.d/openafs-client
ExecStartPre=/sbin/modprobe libafs
ExecStart=/usr/sbin/afsd $OPTIONS
ExecStop=/bin/umount /afs
ExecStopPost=/usr/sbin/afsd -shutdown
ExecStopPost=/sbin/rmmod libafs
KillMode=none
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target remote-fs.target
|