add vps scripts for reference

This commit is contained in:
woodser 2023-11-12 07:14:59 -05:00
parent a47290bac7
commit 280ed484e7
11 changed files with 222 additions and 2 deletions

View 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