blob: 011ae995693f76d0f936f26cc407b19e9e715903 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#!/sbin/runscript
# lufsd
#
# description: LUFS Userspace Daemon
#
# processname: lufs
# chkconfig: - 91 91
#
# lufsd is started by the lufs user, and logs are kept in its homedir.
#
depend () {
need localmount
}
start () {
ebegin "Starting lufsd"
su - lufs -c "lufsd -d 2>~/lufsd.err >~/lufsd.log"
eend $? "Error starting lufsd"
}
stop () {
ebegin "Stopping lufsd"
pkill lufsd
eend $? "Error stopping lufsd"
}
|