error t=2021-01-23T11:46:25Z
[serviceLauncher@hulygun]: Expected type filename for Array element but got type 'undefined'
[serviceLauncher@hulygun]: Failed to evaluate 'main' function on applet: serviceLauncher@hulygun/49
error t=2021-01-23T11:46:25Z
[serviceLauncher@hulygun]: Applet serviceLauncher@hulygun: Could not create applet object.
[serviceLauncher@hulygun]: Error importing applet.js from serviceLauncher@hulygun
Also, because it uses sudo, you'll want to edit your /etc/sudoers file in two ways -
First, allow your service to be started/stopped without a password. You can do this by adding these two lines at the *END* of the file:
ALL ALL=(ALL) NOPASSWD: /usr/bin/systemctl start <YOUR_SERVICE>.service
ALL ALL=(ALL) NOPASSWD: /usr/bin/systemctl stop <YOUR_SERVICE>.service
Second, ensure that the requiretty option is unset for systemctl with the line:
Defaults!/usr/bin/systemctl !requiretty
Hi, unfortunately does not work as expected. I need start and stop VPN service, and when I add the service to the menu and turn it on, the service stay stopped. Any recommendation for me? Thanks.
Log In To Comment!
4 Comments