<html><head></head><body style="zoom: 0%;"><div dir="auto">Thank you for sharing this. Considering that inadyn is not in arch's nor artix's repos, an openrc package should go to the AUR instead of our repos. It doesn't make sense to have packages for services that are not in our repos.<br><br></div>
<div dir="auto"><!-- tmjah_g_1299s -->--<!-- tmjah_g_1299e --><br></div>
<div dir="auto"><!-- tmjah_g_1299s -->Chris Cromer<!-- tmjah_g_1299e --><br></div>
<div dir="auto"><!-- tmjah_g_1299s -->Artix Linux Developer<!-- tmjah_g_1299e --></div>
<div class="gmail_quote" >On Dec 23, 2021, at 4:52 AM, "Xavier B." <<a href="mailto:somenxavier@posteo.net" target="_blank">somenxavier@posteo.net</a>> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="blue">After some tries I think this works:<br><br>#!/sbin/openrc-run<br>name=$RC_SVCNAME<br>description="DynDNS client"<br>cfgfile="/etc/$RC_SVCNAME.conf"<br>command="/bin/$RC_SVCNAME"<br>command_args="-f $cfgfile"<br>command_user="inadynuser"<br>supervisor="supervise-daemon"<br>command_args_foreground="--drop-privs=$command_user --foreground --no-pidfile"<br><br>depend() {<br> need net<br> use logger dns<br> after bootmisc<br>}<br><br>start_pre() {<br>        checkpath --directory --owner $command_user:$command_user --mode 0755 \<br>                /run/$RC_SVCNAME /var/cache/$RC_SVCNAME<br>        $command --check-config -f $cfgfile<br>}<br><br><br>I attached here for soundness and for helping others in the same problem. The code is borrow from alpine linux `inadyn-openrc` package and some modifications.<br><br>Previously I created a system-user `inadynuser` (see <a href="https://wiki.archlinux.org/title/Users_and_groups#Example_adding_a_system_user">https://wiki.archlinux.org/title/Users_and_groups#Example_adding_a_system_user</a>)<br><br>Xavier<br><br><br>On Thu, 25 Nov 2021 21:29:32 +0100<br>"Xavier B." <somenxavier@posteo.net> ha escrit:<br><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"> Hi,<br> <br> I installed inadyn via AUR (inadyn-fork). Is it possible to create an -openrc package associated with it? Can we adapt somehow the alpine package [<a href="https://git.alpinelinux.org/aports/tree/community/inadyn?h=master">https://git.alpinelinux.org/aports/tree/community/inadyn?h=master</a>]?<br> <br> Thanks,<br> Xavier<br> <br> PS: I'm just a user <br></blockquote>-- <br>artix-general mailing list<br>artix-general@artixlinux.org<br><a href="https://lists.artixlinux.org/listinfo/artix-general">https://lists.artixlinux.org/listinfo/artix-general</a><br></pre></blockquote></div></body></html>