ubuntu 开机自启动服务设置

Lenix at 
在 ubuntu 下创建服务及自启动的方法:1. 在 [/lib/systemd/system] 创建 sandtable.service 服务,[Unit] Description=/etc/sandtable Compatibility Documentation=man:systemd-sandtable-generator(8) ConditionFileIsExecutable=/etc/sandtable After=network.target [Service] Type=forking ExecStart=/etc/sandtable start TimeoutSec=0……