public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] openrc: Writing custom init scripts
@ 2023-10-30  5:50 Thanos Apollo
  2023-10-30  6:21 ` cal
  0 siblings, 1 reply; 3+ messages in thread
From: Thanos Apollo @ 2023-10-30  5:50 UTC (permalink / raw
  To: gentoo-user


Hey, newbie here with a fresh Gentoo install.


I'm setting up mullvad-vpn, using ebuild from GURU, so far so 
good.  I'd like to have a an init script to start the daemon, 
basically like this:

`/etc/init.d/mullvad-daemon`
``` shell
#!/sbin/openrc-run
command=/usr/bin/mullvad-daemon
command_background="yes"
```

running the above script with `doas rc-service mullvad-daemon 
start` results in:
 `* rc-service: Permission denied` *even as root user/doas/sudo*


As I said, I'm new to openrc.  I looked at 
<https://wiki.gentoo.org/wiki/Handbook:AMD64/Full/Working#Layout>, 
am I missing something?  Why would this error be produced? 


-- 

Thanos Apollo
https://thanosapollo.com


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-10-30  6:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-30  5:50 [gentoo-user] openrc: Writing custom init scripts Thanos Apollo
2023-10-30  6:21 ` cal
2023-10-30  6:46   ` Thanos Apollo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox