ALT Linux Bugzilla
– Attachment 6154 Details for
Bug 30364
зависит от systemd, а инитскрипт ищет бинарник не там
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
проверенный zfs-fuse.init
zfs-fuse.init (text/plain), 1.68 KB, created by
Michael Shigorin
on 2014-09-29 17:55:44 MSK
(
hide
)
Description:
проверенный zfs-fuse.init
Filename:
MIME Type:
Creator:
Michael Shigorin
Created:
2014-09-29 17:55:44 MSK
Size:
1.68 KB
patch
obsolete
>#!/bin/sh ># ># zfs-fuse Filesystem in the Userspace port of Solaris' zfs ># ># chkconfig: 345 90 10 ># description: ZFS is an advanced modern general-purpose filesystem from Sun Microsystems, originally designed for Solaris/OpenSolaris.\ ># This project is a port of ZFS to the FUSE framework for the Linux operating system.\ ># It was sponsored by Google, as part of the Google Summer of Code 2006 program. ># processname: zfs-fuse ># config: ># pidfile: /var/run/zfs-fuse.pid > ># Do not load RH compatibility interface. >WITHOUT_RC_COMPAT=1 > ># Source function library. >. /etc/init.d/functions > >PIDFILE=/var/run/zfs-fuse.pid >LOCKFILE=/var/lock/subsys/zfs-fuse >ZFS_FUSE_BIN=/usr/bin/zfs-fuse >RETVAL=0 > >start() >{ > grep -q '^fuse' /proc/modules || /sbin/modprobe fuse > start_daemon --lockfile "$LOCKFILE" --expect-user root -- "$ZFS_FUSE_BIN" --pidfile "$PIDFILE" > RETVAL=$? > return $RETVAL >} > >stop() >{ > stop_daemon --pidfile "$PIDFILE" --lockfile "$LOCKFILE" --expect-user root -- "$ZFS_FUSE_BIN" > RETVAL=$? > return $RETVAL >} > >restart() >{ > stop > start >} > >reload() >{ > msg_reloading fuse-zfs > stop_daemon --pidfile "$PIDFILE" --expect-user root -HUP -- "$ZFS_FUSE_BIN" > RETVAL=$? > return $RETVAL >} > ># See how we were called. >case "$1" in > start) > start > ;; > stop) > stop > ;; > reload) > reload > ;; > restart) > restart > ;; > condstop) > if [ -e "$LOCKFILE" ]; then > stop > fi > ;; > condrestart) > if [ -e "$LOCKFILE" ]; then > restart > fi > ;; > condreload) > if [ -e "$LOCKFILE" ]; then > reload > fi > ;; > status) > status --pidfile "$PIDFILE" --expect-user root -- "$ZFS_FUSE_BIN" > RETVAL=$? > ;; > *) > msg_usage "${0##*/} {start|stop|reload|restart|condstop|condrestart|condreload|status}" > RETVAL=1 >esac > >exit $RETVAL
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 30364
:
6153
| 6154