以前在/etc/init.d/文件夹中有一个文件来重新启动ntopng。
我以前使用的命令是:
sudo /etc/init.d/ntopng restart但是现在Ubuntu18.04,那个文件就没了。
现在如何重新启动ntopng?
发布于 2018-08-02 16:05:14
已将init.d脚本转换为系统d单元,它现在位于:
/etc/systemd/system
现在通过以下方式重新启动ntopng:
sudo systemctl restart ntopng其他(大多数)单元文件位于:
/lib/systemd/system/
有关systemd单元文件的更多信息,请查看手册页:
man systemd.unithttps://serverfault.com/questions/924654
复制相似问题