Search the Community
Showing results for tags 'raspberry osmc eddie'.
Found 1 result
-
I'm successfully running the eddie client with the following command: sudo /home/osmc/airvpn/eddie-cli -connect -netlock However, I want to configure it to run as a service, as soon as the network interface is up. I've created /lib/systemd/system/airvpn.service with the following contents: [Unit] Description = AirVPN Client (Eddie) After = network.target [Service] Type = simple User = root ExecStart = /home/osmc/airvpn/eddie-cli -connect -netlock Restart = always [Install] WantedBy = multi-user.target But when I start the service, it doesn't run and I get the following from sudo journalctl -u airvpn eddie-cli[7255]: [ERROR] FATAL UNHANDLED EXCEPTION: System.DllNotFoundException: Lib.Platform.Linux.Native.so eddie-cli[7255]: at (wrapper managed-to-native) Eddie.Platform.Linux.Native:eddie_signal (int,Eddie.Platform.Linux.Native/eddie_sighandler) osmc eddie-cli[7255]: at Eddie.Platform.Linux.Platform.OnInit (System.Boolean cli) [0x0021a] in <fa5edc113cd34687a3a471dec3ba63b7>:0 osmc eddie-cli[7255]: at Eddie.Core.Engine.Initialization (System.Boolean cli) [0x00000] in <1e873ed653644897a51a4d68deac7371>:0 osmc eddie-cli[7255]: at Eddie.CLI.Linux.MainClass.Main (System.String[] args) [0x00030] in <0746b67a12534408be7db4eef2ec9960>:0 osmc eddie-cli[7255]: exception inside UnhandledException handler: Object reference not set to an instance of an object osmc systemd[1]: airvpn.service: Main process exited, code=exited, status=1/FAILURE osmc systemd[1]: airvpn.service: Unit entered failed state. osmc systemd[1]: airvpn.service: Failed with result 'exit-code'. Any ideas?