haveno/pricenode/haveno-pricenode.service

26 lines
506 B
SYSTEMD
Raw Normal View History

2021-05-05 02:20:01 +02:00
[Unit]
Description=Haveno Price Node
2021-05-05 02:20:01 +02:00
After=network.target
[Service]
SyslogIdentifier=Haveno-pricenode
EnvironmentFile=/etc/default/haveno-pricenode.env
ExecStart=/pricenode/haveno/haveno-pricenode 2
2021-05-05 02:20:01 +02:00
ExecStop=/bin/kill -TERM ${MAINPID}
Restart=on-failure
User=pricenode
Group=pricenode
2021-05-05 02:20:01 +02:00
PrivateTmp=true
ProtectSystem=full
NoNewPrivileges=true
PrivateDevices=true
MemoryDenyWriteExecute=false
ProtectControlGroups=true
ProtectKernelTunables=true
RestrictSUIDSGID=true
2021-05-05 02:20:01 +02:00
[Install]
WantedBy=multi-user.target