Service Launcher

UUID: serviceLauncher@hulygun
Last edited:
1 month ago 2019-10-25, 05:22 UTC
Last commit: [365c3646] Added Italian translation to every supported applet (#2651)

Description

Log In To Comment!

3 Comments

Marty Neal
Marty Neal-2 years ago
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
Marty Neal
Marty Neal-2 years ago
From inspecting the code, it seems it uses pgrep to see if service.name is running and only then issue the systemctl command.
Josef Kulhánek
Josef Kulhánek-2 years ago
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.