INNER CODE UNIT · Java
Restart
Erudika/para · installer.sh:40
Restart=on-failure
RestartSec=1s
[Install]
WantedBy=multi-user.target
EOF
# This is optional. These rules might interfere with other web server configurations like nginx and certbot.
#iptables -t nat -A PREROUTING -p tcp -m tcp --dport 80 -j REDIRECT --to-port ${PORT} && \
#iptables -t nat -A OUTPUT -p tcp --dport 80 -o lo -j REDIRECT --to-port ${PORT}
systemctl enable para.service && \
systemctl start para.service