debian cowrie 開機自動啟動
首先 在cowrie的目錄底下建一個auto_honey.sh 然後 輸入 bash /home/cowrie/cowrie/bin/cowrie start 之後再 sudo nano /lib/systemd/system/cowrie.service 輸入 [Unit] Description=cowrie Daemon After=syslog.target network.target [Service] Type=simple ExecStart=su cowrie -c "/home/cowrie/auto_honey.sh" [Install] WantedBy=multi-user.target systemctl daemon-reload systemctl start cowrie