Create proxy.service

This commit is contained in:
2021-03-15 14:09:54 -04:00
committed by GitHub
parent 22c4eddcd8
commit d5b969a1b3
+14
View File
@@ -0,0 +1,14 @@
[Unit]
Description=web proxy service
After=network.target
StartLimitIntervalSec=0
[Service]
Type=simple
Restart=always
RestartSec=1
User=root
ExecStart=/usr/bin/env node /var/www/proxy/nodejs/bin/www
[Install]
WantedBy=multi-user.target