Bug 24048

Summary: We should have a koha-plugin-enable script
Product: Koha Reporter: Martin Renvoize (ashimema) <martin.renvoize>
Component: Plugin architectureAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low    
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Martin Renvoize (ashimema) 2019-11-15 14:58:39 UTC
We have debian scripts for enabling and disable elastic search and other optional features.. we should add one for the process of enabled/disabling plugins too.

It would need to update the config file and vhost for the instance.

```
Alias /plugin "/var/lib/koha/'instance'/plugins"
# The stanza below is needed for Apache 2.4+
<Directory /var/lib/koha/'instance'/plugins>
      Options Indexes FollowSymLinks ExecCGI
      AddHandler cgi-script .pl
      AllowOverride None
      Require all granted
</Directory>
```