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