把一般Windows程式掛為系統服務
以前用過好幾種方法
後來覺得這個免費又方便
Pirmasoft的RunAsSvc
http://www.pirmasoft.de/cms/freeware/runassvc
下載執行RunAsSvc.exe,會跳出GUI,該填的填一填就行了
設完之後RunAsSvc.exe可以刪掉
要移除service的話就去新增移除程式裏找Pirmasoft RunAsSvc開頭的項目
如果要能偵測crash自動重起,大概就要用付費的
- fireDaemon $49usd
http://www.firedaemon.com/products - AlwaysUp $49.99usd
https://www.coretechnologies.com/products/AlwaysUp/