haveno/pricenode/haveno-pricenode.service

23 lines
431 B
SYSTEMD
Raw Normal View History

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