2018-03-14 18:57:49 +01:00
|
|
|
[Unit]
|
|
|
|
Description=OpenAFS Client
|
|
|
|
Wants=network-online.target
|
|
|
|
After=syslog.target network-online.target
|
|
|
|
Before=remote-fs.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=forking
|
|
|
|
RemainAfterExit=true
|
|
|
|
EnvironmentFile=/etc/sysconfig/openafs-client
|
|
|
|
ExecStartPre=/sbin/modprobe libafs
|
|
|
|
ExecStart=/usr/sbin/afsd $AFSD_ARGS
|
|
|
|
ExecStartPost=/usr/bin/fs sysname $SYSNAME
|
2018-04-07 09:37:28 +02:00
|
|
|
ExecStop=/usr/bin/umount /afs
|
2018-03-14 18:57:49 +01:00
|
|
|
ExecStop=/usr/sbin/afsd -shutdown
|
|
|
|
ExecStop=/sbin/rmmod libafs
|
|
|
|
KillMode=none
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target remote-fs.target
|