trojan常用命令的一些补充

启动

systemctl start trojan

重启

systemctl restart trojan

关闭

systemctl stop trojan

状态查询(如果有显示绿色active(running),就表示正常运行中)

systemctl status trojan

错误查询

journalctl -e -u trojan.service

开机自动启动

systemctl enable trojan

禁止开机自动启动

systemctl disable trojan

0 0 vote
Article Rating
Subscribe
提醒
0 评论
Inline Feedbacks
View all comments