mynode/rootfs/standard/etc/systemd/system/https.service

23 lines
470 B
SYSTEMD
Raw Normal View History

2019-10-19 03:39:29 +00:00
# myNode www service
# /etc/systemd/system/www.service
[Unit]
Description=Proxy for HTTPS
Wants=www.service
After=www.service
[Service]
Type=simple
KillMode=process
TimeoutSec=30
Restart=always
RestartSec=10
2019-10-26 17:15:29 +00:00
ExecStartPre=/usr/bin/mynode_gen_cert.sh https 825
2019-10-19 03:39:29 +00:00
ExecStart=/usr/sbin/hitch -u bitcoin -g bitcoin --tls --backend=[127.0.0.1]:80 --frontend=[0.0.0.0]:443 /home/bitcoin/.mynode/https/myNode.local.pem
User=root
Group=root
[Install]
WantedBy=multi-user.target