Ubuntu 18.04 使用systemd制做开机自启动脚本

网上搜到的不少都不能用, 使用google搜到了一个能用的, 分享给你们. 新建须要启动的服务文件, 移动到systemd文件夹下: touch fn.service mv ./fn.service /etc/systemd/system && cd /etc/systemd/system nano fn.service 编辑fn.service的文本内容, 使用nano [Unit] After
相关文章
相关标签/搜索