blob: 1fd42734c0a8dc6677541fcbd25dd88fba918273 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/sbin/openrc-run
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
start() {
ebegin "Starting ${SVCNAME}"
start-stop-daemon --start --quiet --background --exec /usr/bin/nix-daemon
eend ${?}
}
stop() {
ebegin "Stopping ${SVCNAME}"
start-stop-daemon --stop --quiet --exec /usr/bin/nix-daemon
eend ${?}
}
|