summaryrefslogtreecommitdiffstats
path: root/trinity-base/lisa/files/reslisa
blob: 71fb61b78e10d66ca94bb32cfd96267807edc469 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/sbin/openrc-run
# Copyright 1999-2004 Gentoo Authors
# Copyright 2025 The Trinity Desktop Project
# Distributed under the terms of the GNU General Public License v2

depend() {
    use net
}

start() {
    ebegin "Starting reslisa"
    start-stop-daemon --start -x _TDEDIR_/bin/reslisa -q -- 1>/dev/null
    eend $? "Failed to start reslisa"
}

stop() {
    ebegin "Stopping reslisa"
    start-stop-daemon --stop -x _TDEDIR_/bin/reslisa -q
    eend $? "Failed to stop reslisa"
}