Update NEWS entries to reflect new version
[pkg-k5-afs_openafs.git] / debian / openafs-client.service
blob2b203fd4bb01fb502b08f5a734b8df257303da79
1 [Unit]
2 Description=OpenAFS client
3 Wants=network-online.target
4 After=network.target network-online.target local-fs.target sysinit.target
5 Before=remote-fs.target umount.target
6 DefaultDependencies=no
8 [Service]
9 Type=forking
10 RemainAfterExit=true
11 ExecStartPre=/usr/share/openafs/openafs-client-precheck
12 ExecStart=/sbin/afsd $AFSD_ARGS
13 ExecStartPost=/usr/bin/fs setcrypt $AFS_SETCRYPT
14 ExecStartPost=/usr/bin/fs sysname $AFS_SYSNAME
15 ExecStop=/bin/grep -qv ^1$ /proc/sys/kernel/modules_disabled
16 ExecStop=/usr/share/openafs/openafs-client-postcheck
17 ExecStop=/bin/umount -a -t afs
18 ExecStop=/bin/umount -af -t afs
19 ExecStopPost=/sbin/rmmod $KMOD
20 EnvironmentFile=/var/cache/openafs-client/openafs-client.env
21 EnvironmentFile=-/var/cache/openafs-client/openafs-client.shutdown.env
22 KillMode=none
23 GuessMainPID=no
25 [Install]
26 WantedBy=multi-user.target remote-fs.target