1
0
mirror of https://github.com/hotomoe/hotomoe synced 2024-11-29 23:38:13 +09:00
hotomoe/docs/manage.en.md

47 lines
881 B
Markdown
Raw Normal View History

2018-07-15 08:32:28 +09:00
# Management guide
## Check the status of the job queue
2018-07-26 08:11:47 +09:00
coming soon
2018-07-15 08:32:28 +09:00
2018-07-25 07:29:55 +09:00
## Mark as 'admin' user
``` shell
node cli/mark-admin (User-ID or Username)
```
## Mark as 'verified' user
``` shell
node cli/mark-verified (User-ID or Username)
```
2018-07-15 08:32:28 +09:00
## Suspend users
``` shell
2018-07-15 14:27:25 +09:00
node cli/suspend (User-ID or Username)
```
e.g.
``` shell
# Use id
node cli/suspend 57d01a501fdf2d07be417afe
# Use username
node cli/suspend @syuilo
# Use username (remote)
node cli/suspend @syuilo@misskey.xyz
2018-07-15 08:32:28 +09:00
```
## Reset password
``` shell
node cli/reset-password (User-ID or Username)
```
## Clean up cached remote files
``` shell
node cli/clean-cached-remote-files
```
## Clean up unused drive files
``` shell
node cli/clean-unused-drive-files
```
> We recommend that you announce a user that unused drive files will be deleted before performing this operation, as it may delete the user's important files.