Skip to content

Commit

Permalink
systemd: Drop 'complex' unit actions from the menu
Browse files Browse the repository at this point in the history
These are useful for scripts, but confusing for humans.

Fixes #424
Closes #6063
Reviewed-By: Martin Pitt <[email protected]>
  • Loading branch information
mvollmer authored and martinpitt committed Mar 9, 2017
1 parent 5de94be commit ddbb620
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions pkg/systemd/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -513,11 +513,7 @@ $(function() {
{ title: _("Start"), action: 'StartUnit' },
{ title: _("Stop"), action: 'StopUnit' },
{ title: _("Restart"), action: 'RestartUnit' },
{ title: _("Reload"), action: 'ReloadUnit' },
{ title: _("Reload or Restart"), action: 'ReloadOrRestartUnit' },
{ title: _("Try Restart"), action: 'TryRestartUnit' },
{ title: _("Reload or Try Restart"), action: 'ReloadOrTryRestartUnit' },
{ title: _("Isolate"), action: 'StartUnit:isolate' }
{ title: _("Reload"), action: 'ReloadUnit' }
];

function unit_action() {
Expand Down

0 comments on commit ddbb620

Please sign in to comment.