mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-12-28 15:31:37 +00:00
23 lines
470 B
Desktop File
23 lines
470 B
Desktop File
|
|
# 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
|
|
ExecStartPre=/usr/bin/mynode_gen_cert.sh https 825
|
|
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
|