- Ajout de cmd & conf supplémentaires
This commit is contained in:
parent
886a98dd4e
commit
8f6f78c91f
|
|
@ -43,8 +43,9 @@ CMD_LIST_CONFIG_JSON=$(cat <<EOF
|
|||
{
|
||||
"section": "NETWORK DEBUG",
|
||||
"items": [
|
||||
{"label": "Port debug", "cmd": "ss -tulpn | grep {port_number}}"}
|
||||
]
|
||||
{"label": "Port debug", "cmd": "ss -tulpn | grep {port_number}}"},
|
||||
{"label": "Unlock 1024 port for not Root user", "cmd": "setcap 'cap_net_bind_service=+ep' /usr/lib/jellyfin/bin/jellyfin"}
|
||||
]
|
||||
},
|
||||
{
|
||||
"section": "SYSTEM DEBUG",
|
||||
|
|
@ -53,7 +54,18 @@ CMD_LIST_CONFIG_JSON=$(cat <<EOF
|
|||
{"label": "Boot errors", "cmd": "journalctl -b -p err"},
|
||||
{"label": "Service errors", "cmd": "systemctl --failed --no-legend --no-pager"}
|
||||
]
|
||||
},
|
||||
{
|
||||
"section": "PROXMOX",
|
||||
"items": [
|
||||
{"label": "Change vm password", "cmd": "pct exec ID -- passwd root","bin": "pct"},
|
||||
{"label": "Enter a VM without pass", "cmd": "pct enter ID","bin": "pct"},
|
||||
{"label": "Mount from Prox to VM", "cmd": "pct set ID -mp0 /mnt/synology_series,mp=/srv/media/series","bin": "pct"},
|
||||
{"label": "Change VM configuration", "cmd": "nano /etc/pve/lxc/ID.conf","bin": "pct"},
|
||||
{"label": "Restart VM", "cmd": "pct stop ID && pct start ID","bin": "pct"},
|
||||
]
|
||||
}
|
||||
|
||||
]
|
||||
EOF
|
||||
)
|
||||
|
|
|
|||
|
|
@ -8,8 +8,7 @@ CONF_LIST_CONFIG_JSON=$(cat <<EOF
|
|||
{
|
||||
"section": "SYSTEM",
|
||||
"items": [
|
||||
|
||||
{"label": "SSH Config", "cmd": "/etc/ssh/sshd_config"}
|
||||
{"label": "SSH Config", "cmd": "/etc/ssh/sshd_config"},
|
||||
{"label": "Env vars", "cmd": "/etc/environment"}
|
||||
]
|
||||
},
|
||||
|
|
@ -59,7 +58,8 @@ CONF_LIST_CONFIG_JSON=$(cat <<EOF
|
|||
"section": "CUSTOM",
|
||||
"items": [
|
||||
{"label": "Message", "cmd": "/etc/profile.d/777-welcome.sh"},
|
||||
{"label": "Message désactivé -x", "cmd": "/etc/update-motd.d/*"}
|
||||
{"label": "Message désactivé -x", "cmd": "/etc/update-motd.d/*"},
|
||||
{"label": "SSL Certificat", "cmd": "/etc/ssl/wildcard"}
|
||||
]
|
||||
}
|
||||
]
|
||||
|
|
|
|||
Loading…
Reference in New Issue