mirror of
https://github.com/boldsuck/haveno.git
synced 2024-12-23 04:29:22 +00: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
25 lines
506 B
Desktop File
25 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
|