2021-05-05 02:20:01 +02:00
|
|
|
[Unit]
|
2022-02-14 14:18:46 +01:00
|
|
|
Description=Haveno Price Node
|
2021-05-05 02:20:01 +02:00
|
|
|
After=network.target
|
|
|
|
|
|
|
|
[Service]
|
2022-02-14 14:18:46 +01:00
|
|
|
SyslogIdentifier=Haveno-pricenode
|
2022-03-06 16:45:18 +01:00
|
|
|
EnvironmentFile=/etc/default/haveno-pricenode.env
|
|
|
|
ExecStart=/pricenode/haveno/haveno-pricenode 2
|
2021-05-05 02:20:01 +02:00
|
|
|
ExecStop=/bin/kill -TERM ${MAINPID}
|
|
|
|
Restart=on-failure
|
|
|
|
|
2022-03-06 16:45:18 +01:00
|
|
|
User=pricenode
|
|
|
|
Group=pricenode
|
2021-05-05 02:20:01 +02:00
|
|
|
|
|
|
|
PrivateTmp=true
|
|
|
|
ProtectSystem=full
|
|
|
|
NoNewPrivileges=true
|
|
|
|
PrivateDevices=true
|
|
|
|
MemoryDenyWriteExecute=false
|
2022-08-04 11:04:49 +02:00
|
|
|
ProtectControlGroups=true
|
|
|
|
ProtectKernelTunables=true
|
|
|
|
RestrictSUIDSGID=true
|
2021-05-05 02:20:01 +02:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|