Fix disk name initialization in scout
[openafs.git] / src / packaging / RedHat / openafs-client.service
1 [Unit]
2 Description=OpenAFS Client Service
3 After=syslog.target network.target
4
5 [Service]
6 Type=forking
7 EnvironmentFile=/etc/sysconfig/openafs
8 ExecStartPre=/bin/sed -n 'w/usr/vice/etc/CellServDB' /usr/vice/etc/CellServDB.local /usr/vice/etc/CellServDB.dist
9 ExecStartPre=/bin/chmod 0644 /usr/vice/etc/CellServDB
10 ExecStartPre=/sbin/modprobe openafs
11 ExecStart=/usr/vice/etc/afsd $AFSD_ARGS
12 ExecStop=/bin/umount /afs
13 ExecStop=/usr/vice/etc/afsd -shutdown
14 ExecStop=/sbin/rmmod openafs
15 KillMode=none
16
17 [Install]
18 WantedBy=multi-user.target remote-fs.target