Create caterpillar.service

This commit is contained in:
Namhyeon Go 2024-02-21 02:24:06 +09:00 committed by GitHub
parent b0d9c7fb6b
commit 50b15bcdab
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

14
caterpillar.service Normal file
View File

@ -0,0 +1,14 @@
[Unit]
Description=Caterpillar (php-httpproxy) Web Debugging Proxy Service
Documentation=https://github.com/gnh1201/caterpillar
After=network.target
[Service]
User=root
Group=root
WorkingDirectory=/opt/caterpillar
ExecStart=/usr/bin/python3 /opt/caterpillar/server.py
Restart=always
[Install]
WantedBy=multi-user.target