packages/net/conserver/files/conserver.init
Bjørn Mork f42caaffb8 conserver: add advanced serial console package
Conserver is an application that allows multiple users to use
serial consoles at the same time, with logging.  It has a client-
server design which makes it easy to manage a distributed set
of serial consoles.  Logging makes post-crash analyses easier.

Signed-off-by: Bjørn Mork <bjorn@mork.no>
2017-06-04 11:22:43 +02:00

14 lines
280 B
Bash

#!/bin/sh /etc/rc.common
# Copyright (C) 2017 Bjørn Mork <bjorn@mork.no>
START=99
STOP=99
USE_PROCD=1
start_service() {
[ -d /var/log/conserver ] || mkdir -m 0755 -p /var/log/conserver
procd_open_instance
procd_set_param command /usr/sbin/conserver
procd_close_instance
}