2014-08-11 14:58:31 +02:00
|
|
|
# Moulinette
|
2013-12-26 22:19:07 +01:00
|
|
|
|
2014-08-11 14:58:31 +02:00
|
|
|
**Moulinette** is the command line interface (CLI) of YunoHost administration. It permit to manage entirely YunoHost:
|
2013-12-26 22:19:07 +01:00
|
|
|
|
2014-08-11 14:58:31 +02:00
|
|
|
users, domains, applications, firewall, backup, monitoring.
|
|
|
|
|
|
|
|
The other interface is a [web administration](/admin_fr), which eliminates the need for the command line.
|
|
|
|
|
|
|
|
To use Moulinette you need to connect to your server with [SSH](/ssh_en).
|
2013-12-26 22:19:07 +01:00
|
|
|
|
|
|
|
##yunohost
|
|
|
|
|
2014-01-01 16:28:01 +01:00
|
|
|
The command to manage YunoHost from the command line:
|
2013-12-28 12:34:52 +01:00
|
|
|
```bash
|
|
|
|
usage: yunohost [-h] [-v]
|
2013-12-26 22:19:07 +01:00
|
|
|
|
|
|
|
positional arguments:
|
|
|
|
{domain,monitor,service,firewall,backup,app,hook,dyndns,user,tools}
|
|
|
|
domain Manage domains
|
|
|
|
monitor Monitor the server
|
|
|
|
service Manage services
|
|
|
|
firewall Manage firewall rules
|
|
|
|
backup Manage backups
|
|
|
|
app Manage apps
|
|
|
|
hook Manage hooks
|
|
|
|
dyndns Subscribe and Update DynDNS Hosts
|
|
|
|
user Manage users
|
|
|
|
tools Specific tools
|
|
|
|
|
|
|
|
optional arguments:
|
2014-01-01 16:28:01 +01:00
|
|
|
-h, --help Show this help message and exit
|
2013-12-26 22:19:07 +01:00
|
|
|
-v, --version Display moulinette version
|
2013-12-28 12:34:52 +01:00
|
|
|
```
|
2013-12-26 22:19:07 +01:00
|
|
|
|
|
|
|
### domain
|
2013-12-28 12:34:52 +01:00
|
|
|
```bash
|
2013-12-26 22:19:07 +01:00
|
|
|
yunohost domain [-h] {info,add,list,remove}
|
2014-01-01 16:28:01 +01:00
|
|
|
info Get domain information
|
2013-12-26 22:19:07 +01:00
|
|
|
add Create a custom domain
|
|
|
|
list List domains
|
|
|
|
remove Delete domains
|
2013-12-28 12:34:52 +01:00
|
|
|
```
|
2013-12-26 22:19:07 +01:00
|
|
|
|
|
|
|
### monitor
|
2013-12-28 12:34:52 +01:00
|
|
|
```bash
|
2013-12-26 22:19:07 +01:00
|
|
|
yunohost monitor [-h] {enable,network,show-stats,update-stats,disk,system,disable}
|
|
|
|
enable Enable server monitoring
|
|
|
|
network Monitor network interfaces
|
|
|
|
show-stats Show monitoring statistics
|
|
|
|
update-stats Update monitoring statistics
|
|
|
|
disk Monitor disk space and usage
|
2014-01-01 16:28:01 +01:00
|
|
|
system Monitor system information and usage
|
2013-12-26 22:19:07 +01:00
|
|
|
disable Disable server monitoring
|
2013-12-28 12:34:52 +01:00
|
|
|
```
|
2013-12-26 22:19:07 +01:00
|
|
|
|
|
|
|
### service
|
2013-12-28 12:34:52 +01:00
|
|
|
```bash
|
2013-12-26 22:19:07 +01:00
|
|
|
yunohost service [-h] {status,start,enable,log,stop,disable}
|
|
|
|
status Show status information about one or more services
|
|
|
|
(all by default)
|
|
|
|
start Start one or more services
|
|
|
|
enable Enable one or more services
|
2014-01-01 16:28:01 +01:00
|
|
|
log Log every log file of a service
|
2013-12-26 22:19:07 +01:00
|
|
|
stop Stop one or more services
|
|
|
|
disable Disable one or more services
|
2013-12-28 12:34:52 +01:00
|
|
|
```
|
2013-12-26 22:19:07 +01:00
|
|
|
|
|
|
|
### firewall
|
2013-12-28 12:34:52 +01:00
|
|
|
```bash
|
2013-12-26 22:19:07 +01:00
|
|
|
yunohost firewall [-h]{installupnp,checkupnp,list,stop,disallow,reload,allow,removeupnp}
|
2014-01-01 16:28:01 +01:00
|
|
|
installupnp Add uPnP cron
|
|
|
|
checkupnp Check if uPnP is installed or not (0 yes 1 no)
|
2013-12-26 22:19:07 +01:00
|
|
|
list List all firewall rules
|
|
|
|
stop Stop iptables and ip6tables
|
|
|
|
disallow Disallow connection
|
|
|
|
reload Reload all firewall rules
|
|
|
|
allow Allow connection port/protocol
|
2014-01-01 16:28:01 +01:00
|
|
|
removeupnp Remove uPnP cron
|
2013-12-28 12:34:52 +01:00
|
|
|
```
|
2013-12-26 22:19:07 +01:00
|
|
|
|
|
|
|
### backup
|
2013-12-28 12:34:52 +01:00
|
|
|
```bash
|
2013-12-26 22:19:07 +01:00
|
|
|
yunohost backup [-h] {init} ...
|
2014-01-01 16:28:01 +01:00
|
|
|
init Initialize Tahoe-LAFS configuration
|
2013-12-28 12:34:52 +01:00
|
|
|
```
|
2013-12-26 22:19:07 +01:00
|
|
|
|
|
|
|
### app
|
2013-12-28 12:34:52 +01:00
|
|
|
```bash
|
2013-12-26 22:19:07 +01:00
|
|
|
yunohost app [-h]
|
|
|
|
{map,ssowatconf,install,checkport,listlists,removelist,info,upgrade,service,fetchlist,checkurl,list,remove,removeaccess,setting,initdb,addaccess}
|
|
|
|
map List apps by domain
|
|
|
|
ssowatconf Regenerate SSOwat configuration file
|
|
|
|
install Install apps
|
|
|
|
checkport Check availability of a local port
|
|
|
|
listlists List fetched lists
|
|
|
|
removelist Remove list from the repositories
|
|
|
|
info Get app info
|
|
|
|
upgrade Upgrade app
|
|
|
|
service Add or remove a YunoHost monitored service
|
|
|
|
fetchlist Fetch application list from app server
|
|
|
|
checkurl Check availability of a web path
|
|
|
|
list List apps
|
|
|
|
remove Remove app
|
2014-01-01 16:28:01 +01:00
|
|
|
removeaccess Revoke access rights to users (everyone by default)
|
|
|
|
setting Set or get an app setting value
|
2013-12-26 22:19:07 +01:00
|
|
|
initdb Create database and initialize it with optionnal
|
|
|
|
attached script
|
2014-01-01 16:28:01 +01:00
|
|
|
addaccess Grant access rights to users (everyone by default)
|
2013-12-28 12:34:52 +01:00
|
|
|
```
|
2013-12-26 22:19:07 +01:00
|
|
|
|
|
|
|
### hook
|
2013-12-28 12:34:52 +01:00
|
|
|
```bash
|
2013-12-26 22:19:07 +01:00
|
|
|
yunohost hook [-h] {callback,add,check,remove,exec} ...
|
2014-01-01 16:28:01 +01:00
|
|
|
callback Execute all scripts bound to an action
|
2013-12-26 22:19:07 +01:00
|
|
|
add Store hook script to filesystem
|
|
|
|
check Parse the script file and get arguments
|
|
|
|
remove Remove hook scripts from filesystem
|
|
|
|
exec Execute hook from a file with arguments
|
2013-12-28 12:34:52 +01:00
|
|
|
```
|
2013-12-26 22:19:07 +01:00
|
|
|
|
|
|
|
### dyndns
|
2013-12-28 12:34:52 +01:00
|
|
|
```bash
|
2013-12-26 22:19:07 +01:00
|
|
|
yunohost dyndns [-h] {subscribe,update,installcron,removecron} ...
|
|
|
|
subscribe Subscribe to a DynDNS service
|
2014-01-01 16:28:01 +01:00
|
|
|
update Update IP on a DynDNS platform
|
2013-12-26 22:19:07 +01:00
|
|
|
installcron Install IP update cron
|
|
|
|
removecron Remove IP update cron
|
2013-12-28 12:34:52 +01:00
|
|
|
```
|
2013-12-26 22:19:07 +01:00
|
|
|
|
|
|
|
### user
|
2013-12-28 12:34:52 +01:00
|
|
|
```bash
|
2013-12-26 22:19:07 +01:00
|
|
|
yunohost user [-h] {info,create,list,update,delete} ...
|
2014-01-01 16:28:01 +01:00
|
|
|
info Get user information
|
2013-12-26 22:19:07 +01:00
|
|
|
create Create user
|
|
|
|
list List users
|
2014-01-01 16:28:01 +01:00
|
|
|
update Update user information
|
2013-12-26 22:19:07 +01:00
|
|
|
delete Delete user
|
2013-12-28 12:34:52 +01:00
|
|
|
```
|
2013-12-26 22:19:07 +01:00
|
|
|
|
|
|
|
### tools
|
2013-12-28 12:34:52 +01:00
|
|
|
```bash
|
2013-12-26 22:19:07 +01:00
|
|
|
yunohost tools [-h] {postinstall,maindomain,ldapinit,adminpw} ...
|
|
|
|
postinstall YunoHost post-install
|
|
|
|
maindomain Main domain change tool
|
|
|
|
ldapinit YunoHost LDAP initialization
|
|
|
|
adminpw Change admin password
|
2013-12-28 12:34:52 +01:00
|
|
|
```
|