Tried just now, doesn't work. Same error throws up.

Are comments relevant? They would be just for informing user right?
Thanking you
Sagar Acharya


25 Nov 2022, 15:31 by hann...@mailbox.org:

>> On 25. Nov 2022, at 10:30, Sagar Acharya <sagaracha...@tutanota.com> wrote:
>>
>> 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
>>
>
> Did you try all lowercase "# PROVIDE: uwsgi" ?
>
> --
> J. Hannken-Illjes - hann...@mailbox.org
>

Reply via email to