mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-01 05:56:16 +00:00
add enable/disable services
This commit is contained in:
@ -93,4 +93,14 @@ public function restart(): void
|
||||
{
|
||||
app(Manage::class)->restart($this);
|
||||
}
|
||||
|
||||
public function enable(): void
|
||||
{
|
||||
app(Manage::class)->enable($this);
|
||||
}
|
||||
|
||||
public function disable(): void
|
||||
{
|
||||
app(Manage::class)->disable($this);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user