Skip to content

Commit

Permalink
Remove -f argument from pkill. This was too broad - it was catching
Browse files Browse the repository at this point in the history
sentry which only has 'kano-settings' in its arguments.
  • Loading branch information
Ealdwulf committed Jun 14, 2016
1 parent 83520ff commit c2f0b38
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions config/sudoers.d/kano-desktop_conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
#
# Scratch is sudoed from kdesk and suffers from a similar issue.
#
Cmnd_Alias KILL_DESKTOP_WIDGETS = /usr/bin/pkill -f kano-settings, \
/usr/bin/pkill -f kano-wifi-gui
Cmnd_Alias KILL_DESKTOP_WIDGETS = /usr/bin/pkill kano-settings, \
/usr/bin/pkill kano-wifi-gui

%sudo ALL=(root) NOPASSWD: KILL_DESKTOP_WIDGETS

Expand Down
2 changes: 1 addition & 1 deletion systemd/kano-desktop-lxpanel.service
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ BindsTo=kano-desktop.service
[Service]
ExecStart=/usr/bin/lxpanel --profile LXDE
Environment="DESKTOP_MODE=1"
ExecStop=/usr/bin/sudo /usr/bin/pkill -f kano-settings ; /usr/bin/sudo /usr/bin/pkill -f kano-wifi-gui
ExecStop=/usr/bin/sudo /usr/bin/pkill kano-settings ; /usr/bin/sudo /usr/bin/pkill kano-wifi-gui

[Install]
WantedBy=kano-desktop.service

0 comments on commit c2f0b38

Please sign in to comment.