데비안과 우분투는 모두 거의 유사한 구조를 가집니다. 데몬 서비스를 하려면 [Unit] Description=Comvoy Service After=multi-user.target
[email protected] [Service] Type=simple ExecStart=/opt/bin/myexe StandardInput=tty-force [Install] WantedBy=multi-user.target 위와 같은 서비스를 이용할 my.service 파일을 만들어 /lib/systemd/system 에 넣어두고 systemctl daemon-reloadsystemctl enable my.servicesystemctl start my.service