-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathmanifest.json
37 lines (36 loc) · 1.02 KB
/
manifest.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{
"name": "Sample Plugin",
"version": "v1.0.0-beta",
"description": "A sample user plugin to extend RaspAP",
"author": "A. Plugin Author",
"author_uri": "https://github.com/",
"plugin_uri": "https://github.com/RaspAP/SamplePlugin",
"plugin_docs": "https://docs.raspap.com/custom-plugins/",
"license": "GPL-3.0",
"namespace": "RaspAP\\Plugins\\SamplePlugin",
"configuration": [
{
"source": "config/myplugin.conf",
"destination": "/etc/myplugin.conf"
}
],
"default_locale": "en_US",
"dependencies": {
"sample-server": "1.0"
},
"icon": "fas fa-plug",
"install_path": "plugins",
"javascript": {
"source": "templates/app/js/Sample.js"
},
"manifest_version": "1.0",
"sudoers": [
"www-data ALL=(ALL) NOPASSWD:/bin/systemctl * sample.service",
"www-data ALL=(ALL) NOPASSWD:/bin/cat /etc/myplugin.conf",
"www-data ALL=(ALL) NOPASSWD:/bin/cp /tmp/myplugin.conf /etc/myplugin.conf"
],
"user_nonprivileged": {
"name": "sampleuser",
"pass": "samplepass"
}
}