Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
uwsgi rc.d
I'm creating a daemon uwsgi which would start after bootup.
In rc.conf, I have uwsgi=YES
/etc/rc.d/uwsgi is as follows:
#!/bin/sh
# PROVIDE: UWSGI
# REQUIRE: DAEMON
name="uwsgi"
rcvar=$name
command="/usr/pkg/bin/uwsgi-3.10"
pidfile="/var/pid/${name}.pid"
$_rc_subr_loaded . /etc/rc.subr
run_rc_command --ini /abs/path/to/conf.ini
When I start service, it complaints that uwsgi not in /etc/rc.d . What am I doing wrong?
Thanking you
Sagar Acharya
Home |
Main Index |
Thread Index |
Old Index