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
|
|
|
|
ExecStart=/usr/sbin/afsd.fuse $AFSD_ARGS
|
2019-05-02 20:14:05 +02:00
|
|
|
ExecStartPost=/usr/bin/fs sysname $SYSNAME
|
|
|
|
ExecStartPost=/usr/bin/fs setcrypt $CRYPT
|
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
|