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:
parent
40131623c2
commit
015d3b1635
@ -8,8 +8,9 @@ Before=remote-fs.target
|
|||||||
Type=forking
|
Type=forking
|
||||||
RemainAfterExit=true
|
RemainAfterExit=true
|
||||||
EnvironmentFile=/etc/sysconfig/openafs-fuse-client
|
EnvironmentFile=/etc/sysconfig/openafs-fuse-client
|
||||||
ExecStartPre=/bin/chmod 0644 /etc/openafs/CellServDB
|
|
||||||
ExecStart=/usr/sbin/afsd.fuse $AFSD_ARGS
|
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/bin/umount /afs
|
||||||
ExecStop=/usr/sbin/afsd.fuse -shutdown
|
ExecStop=/usr/sbin/afsd.fuse -shutdown
|
||||||
KillMode=none
|
KillMode=none
|
||||||
|
@ -4,7 +4,6 @@
|
|||||||
|
|
||||||
AFSD_ARGS="-fakestat -memcache -blocks 102400 -dynroot -afsdb"
|
AFSD_ARGS="-fakestat -memcache -blocks 102400 -dynroot -afsdb"
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# sysname to set after startup
|
# sysname to set after startup
|
||||||
# leave empty for default setting.
|
# leave empty for default setting.
|
||||||
|
17
sysconfig.openafs-fuse-client
Normal file
17
sysconfig.openafs-fuse-client
Normal 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"
|
Loading…
Reference in New Issue
Block a user