make openafs-clien and openafs-fuse-client more consistent

OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=41
This commit is contained in:
Christof Hanke 2019-05-02 18:14:05 +00:00 committed by Git OBS Bridge
parent 40131623c2
commit 015d3b1635
3 changed files with 19 additions and 2 deletions

View File

@ -8,8 +8,9 @@ Before=remote-fs.target
Type=forking
RemainAfterExit=true
EnvironmentFile=/etc/sysconfig/openafs-fuse-client
ExecStartPre=/bin/chmod 0644 /etc/openafs/CellServDB
ExecStart=/usr/sbin/afsd.fuse $AFSD_ARGS
ExecStartPost=/usr/bin/fs sysname $SYSNAME
ExecStartPost=/usr/bin/fs setcrypt $CRYPT
ExecStop=/usr/bin/umount /afs
ExecStop=/usr/sbin/afsd.fuse -shutdown
KillMode=none

View File

@ -4,7 +4,6 @@
AFSD_ARGS="-fakestat -memcache -blocks 102400 -dynroot -afsdb"
#
# sysname to set after startup
# leave empty for default setting.

View File

@ -0,0 +1,17 @@
#
# startup options for the openAFS client.
# see man afsd for details
AFSD_ARGS="-fakestat -memcache -blocks 102400 -dynroot -afsdb"
#
# sysname to set after startup
# leave empty for default setting.
SYSNAME=""
#
# switch for encryption to be set after startup
# must be one of "on" or "off"
CRYPT="on"