mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-05-02 06:36:22 -04:00
add vps scripts for reference
This commit is contained in:
parent
a47290bac7
commit
280ed484e7
11 changed files with 222 additions and 2 deletions
22
scripts/deployment/haveno-pricenode.service
Normal file
22
scripts/deployment/haveno-pricenode.service
Normal file
|
@ -0,0 +1,22 @@
|
|||
[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
|
Loading…
Add table
Add a link
Reference in a new issue