Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 298539 Details for
Bug 398431
New ebuild: www-misc/profile-sync-daemon - Symlinks and syncs browser profile dirs to RAM
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
daemon
daemon (text/plain), 1.14 KB, created by
Julian Ospald
on 2012-01-10 20:27:29 UTC
(
hide
)
Description:
daemon
Filename:
MIME Type:
Creator:
Julian Ospald
Created:
2012-01-10 20:27:29 UTC
Size:
1.14 KB
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2012 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 > >description="Webbrowser profile syncing" >extra_commands="sync" >PIDFILE=/var/run/${SVCNAME}.pid > >[ -e /etc/psd.conf ] && . /etc/psd.conf > >start() { > ebegin "Starting Profile-Sync-Daemon" > if [[ -z $USERS ]]; then > eerror "Define at least one user in /etc/psd.conf" > return 1 > fi > > for i in $USERS; do > if [[ ! -d /home/$i ]]; then > eerror "Invalid user defined in /etc/psd.conf" > return 1 > fi > done > > /usr/bin/profile-sync-daemon check > start-stop-daemon --start --pidfile ${PIDFILE} --make-pidfile --background \ > --exec /usr/bin/profile-sync-daemon -- sync > eend $? >} > >stop() { > ebegin "Stopping Profile-Sync-Daemon" > if [[ ! -f $PIDFILE ]]; then > eerror "Profile-Sync-Daemon is not running, nothing to stop!" > return 1 > else > /usr/bin/profile-sync-daemon unsync > rm -f ${PIDFILE} > fi > eend $? >} > >sync() { > ebegin "Syncing browser profiles in tmpfs to physical disc" > if [[ ! -f $PIDFILE ]]; then > eerror "Profile-Sync-Daemon is not running... cannot sync!" > return 1 > else > /usr/bin/profile-sync-daemon sync > fi > eend $? >}
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 398431
:
298535
|
298537
| 298539 |
298541
|
298543
|
353734
|
353736