haveno/scripts/deployment/haveno-pricenode.service

22 lines
466 B
SYSTEMD
Raw Normal View History

2023-11-12 12:14:59 +00:00
[Unit]
Description=Haveno Price Node
After=network.target
[Service]
SyslogIdentifier=haveno-pricenode
EnvironmentFile=/etc/default/haveno-pricenode.env
ExecStart=/home/haveno-pricenode/haveno-pricenode/haveno-pricenode 2
ExecStop=/bin/kill -TERM ${MAINPID}
Restart=on-failure
User=haveno-pricenode
Group=haveno-pricenode
PrivateTmp=true
ProtectSystem=full
NoNewPrivileges=true
PrivateDevices=true
MemoryDenyWriteExecute=false
[Install]
WantedBy=multi-user.target