Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: [SOLVED] having trouble with starting services (Read 934 times) previous topic - next topic
0 Members and 4 Guests are viewing this topic.

[SOLVED] having trouble with starting services

Linux newbie here with only systemd experience prior to discovering Artix :)

I just installed expressvpn but am unable to start the service:

Code: [Select]
h31vm:[user]:/$ sv status

usage: sv [-v] [-w sec] command service ...

h31vm:[user]:/$ sudo sv expressvpn restart

[sudo] password for user:

fail: restart: unable to change to service directory: file does not exist

I searched around these forums and found a user with a similar problem:

https://forum.artixlinux.org/index.php/topic,2838.msg18565.html#msg18565

but am a little nervous to implement the instructions considering that post is for mogodb not expressvpn.

A little assistance would be greatly appreciated.

Re: having trouble with starting services

Reply #1
Update: I also had issues running some other apps I installed. In the end I just need things to work so I reverted back to openSUSE.

Re: having trouble with starting services

Reply #2
From what I can tell there isn't a service file for express vpn for runit (there is one for openRC, but it's on the aur, so probably ) so unless you wrote it yourself, you can't have possibly linked the service file to /run/runit/service.

The syntax for sv is:

Code: [Select]
sudo sv restart expressvpn

And one last thing, in runit the 'restart' command isn't like the systemD one, it only restarts the service, it doesn't start the service if it isn't already running.

 

Re: having trouble with starting services

Reply #3
in runit the 'restart' command isn't like the systemD one, it only restarts the service, it doesn't start the service if it isn't already running.
This is wrong.


Re: having trouble with starting services

Reply #5
Haha np, take some rest   ;)