tests: Avoid verbose output for 'make check V=0'
[openafs.git] / src / packaging / RedHat / openafs-client.service
1 [Unit]
2 Description=OpenAFS Client Service
3 Wants=network-online.target
4 After=syslog.target network-online.target dkms.service
5 Before=remote-fs.target
6
7 [Service]
8 Type=forking
9 RemainAfterExit=true
10 EnvironmentFile=/etc/sysconfig/openafs
11 ExecStartPre=/bin/bash -c "fs sysname > /dev/null 2>/dev/null; test $? -ne 0 || (echo AFS client appears to be running -- not starting && exit 1)"
12 ExecStartPre=/bin/sed -n 'w/usr/vice/etc/CellServDB' /usr/vice/etc/CellServDB.local /usr/vice/etc/CellServDB.dist
13 ExecStartPre=/bin/chmod 0644 /usr/vice/etc/CellServDB
14 ExecStartPre=/sbin/modprobe openafs
15 ExecStart=/usr/vice/etc/afsd $AFSD_ARGS
16 ExecStop=/bin/umount /afs
17 ExecStop=/usr/vice/etc/afsd -shutdown
18 ExecStop=/sbin/rmmod openafs
19 KillMode=none
20
21 [Install]
22 WantedBy=multi-user.target remote-fs.target