Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: uwsgi rc.d



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 hannken%mailbox.org@localhost:

>> On 25. Nov 2022, at 10:30, Sagar Acharya <sagaracharya%tutanota.com@localhost> 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 - hannken%mailbox.org@localhost
>


Home | Main Index | Thread Index | Old Index