haveno/pricenode/haveno-pricenode.service

23 lines
431 B
SYSTEMD
Raw Normal View History

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