2021-05-05 00:20:01 +00:00
|
|
|
[Unit]
|
2022-02-14 13:18:46 +00:00
|
|
|
Description=Haveno Price Node
|
2021-05-05 00:20:01 +00:00
|
|
|
After=network.target
|
|
|
|
|
|
|
|
[Service]
|
2022-02-14 13:18:46 +00:00
|
|
|
SyslogIdentifier=Haveno-pricenode
|
2022-03-06 15:45:18 +00:00
|
|
|
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
|
|
|
|
|
2022-03-06 15:45:18 +00:00
|
|
|
User=pricenode
|
|
|
|
Group=pricenode
|
2021-05-05 00:20:01 +00:00
|
|
|
|
|
|
|
PrivateTmp=true
|
|
|
|
ProtectSystem=full
|
|
|
|
NoNewPrivileges=true
|
|
|
|
PrivateDevices=true
|
|
|
|
MemoryDenyWriteExecute=false
|
2022-08-04 09:04:49 +00:00
|
|
|
ProtectControlGroups=true
|
|
|
|
ProtectKernelTunables=true
|
|
|
|
RestrictSUIDSGID=true
|
2021-05-05 00:20:01 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|