mirror of
https://github.com/haveno-dex/haveno.git
synced 2024-12-27 00:09:34 -05:00
25b2d6591a
- adapt systemd file for seednode to Haveno and improve hardening - adapt systemd file for pricenode to Haveno and improve hardening - some live hardening options might not have been added here
26 lines
506 B
Desktop File
26 lines
506 B
Desktop File
[Unit]
|
|
Description=Haveno Price Node
|
|
After=network.target
|
|
|
|
[Service]
|
|
SyslogIdentifier=Haveno-pricenode
|
|
EnvironmentFile=/etc/default/haveno-pricenode.env
|
|
ExecStart=/pricenode/haveno/haveno-pricenode 2
|
|
ExecStop=/bin/kill -TERM ${MAINPID}
|
|
Restart=on-failure
|
|
|
|
User=pricenode
|
|
Group=pricenode
|
|
|
|
PrivateTmp=true
|
|
ProtectSystem=full
|
|
NoNewPrivileges=true
|
|
PrivateDevices=true
|
|
MemoryDenyWriteExecute=false
|
|
ProtectControlGroups=true
|
|
ProtectKernelTunables=true
|
|
RestrictSUIDSGID=true
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|