2021-05-04 20:20:01 -04:00
|
|
|
[Unit]
|
2022-02-14 08:18:46 -05:00
|
|
|
Description=Haveno Price Node
|
2021-05-04 20:20:01 -04:00
|
|
|
After=network.target
|
|
|
|
|
|
|
|
[Service]
|
2022-02-14 08:18:46 -05:00
|
|
|
SyslogIdentifier=Haveno-pricenode
|
2022-03-06 10:45:18 -05:00
|
|
|
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
|
|
|
|
|
2022-03-06 10:45:18 -05:00
|
|
|
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
|