openafs/openafs-client.service.allow_unsupported
Christof Hanke e21b3aa4cd Accepting request 841586 from home:hauky:branches:filesystems_GA
- add firewalld-configuration files
- enable loading of unsupported kernel-module on SLES15

OBS-URL: https://build.opensuse.org/request/show/841586
OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=64
2020-10-13 16:00:02 +00:00

22 lines
556 B
Plaintext

[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 --allow-unsupported
ExecStart=/usr/sbin/afsd $AFSD_ARGS
ExecStartPost=/usr/bin/fs sysname $SYSNAME
ExecStartPost=/usr/bin/fs setcrypt $CRYPT
ExecStop=/usr/bin/umount /afs
ExecStop=/usr/sbin/afsd -shutdown
ExecStop=/sbin/rmmod libafs
KillMode=none
[Install]
WantedBy=multi-user.target remote-fs.target