Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 848593 Details for
Bug 890961
sys-fs/bees missing openrc initscript
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
openrc init script
beesd (text/plain), 1.03 KB, created by
gpancot@hotmail.com
on 2023-01-15 16:18:56 UTC
(
hide
)
Description:
openrc init script
Filename:
MIME Type:
Creator:
gpancot@hotmail.com
Created:
2023-01-15 16:18:56 UTC
Size:
1.03 KB
patch
obsolete
>#!/sbin/openrc-run ># Copyright 1999-2021 Gentoo Authors ># Distributed under the terms of the GNU General Public License v2 > >UUID=${RC_SVCNAME#*.} > >#echo ${SVCNAME} >#echo ${SVCNAME} ># echo ${UUID} > >depend() { > after bootmisc >} > >checkconfig() { > > if ! blkid |grep -q ${UUID} ; then > # echo "ko" > eerror "UUID=${UUID} not available" > return 1 > else > # echo "ok" > my_daemo="beesd" > fi >} > >my_daemon="beesd" >pidfile="/var/run/${my_daemon}.${UUID}.pid" >command="/usr/sbin/${my_daemon}" >command_args="${UUID}" >command_log="/var/log/${my_daemon}.${UUID}.log" > > >start() { > ebegin "Starting ${SVCNAME}" > > checkconfig || return 1 > > start-stop-daemon \ > --start \ > --background \ > --pidfile ${pidfile} \ > --make-pidfile \ > --exec ${command} \ > -1 ${command_log} -2 ${command_log} \ > -- ${command_args} > eend $? >} > >stop() { > ebegin "Stopping ${my_daemon}" > start-stop-daemon \ > --stop \ > --pidfile ${pidfile} > eend $? >} > ># vim: set ts=4 :
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 890961
: 848593 |
872246
|
872247
|
872279
|
872280
|
872282
|
872324
|
872325
|
872350
|
872351
|
872352