mirror of
https://github.com/haveno-dex/haveno.git
synced 2024-12-29 09:16:27 -05:00
22 lines
466 B
SYSTEMD
22 lines
466 B
SYSTEMD
|
[Unit]
|
||
|
Description=Haveno Price Node
|
||
|
After=network.target
|
||
|
|
||
|
[Service]
|
||
|
SyslogIdentifier=haveno-pricenode
|
||
|
EnvironmentFile=/etc/default/haveno-pricenode.env
|
||
|
ExecStart=/home/haveno-pricenode/haveno-pricenode/haveno-pricenode 2
|
||
|
ExecStop=/bin/kill -TERM ${MAINPID}
|
||
|
Restart=on-failure
|
||
|
|
||
|
User=haveno-pricenode
|
||
|
Group=haveno-pricenode
|
||
|
|
||
|
PrivateTmp=true
|
||
|
ProtectSystem=full
|
||
|
NoNewPrivileges=true
|
||
|
PrivateDevices=true
|
||
|
MemoryDenyWriteExecute=false
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|