On 10/29/23 22:50, Thanos Apollo wrote:
> 
> 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?
> 
Did you chmod +x /etc/init.d/mullvad-daemon?  Having the wrong file
permissions can result in permission errors even when using elevated
privileges.

Reply via email to