bisq/seednode/bisq-seednode.service
wiz fe4059a722 Update seednode config to increase resource limits for v1.2 (#3545)
* Update seednode systemd service, move env vars to separate file

* Update seednode README
2019-11-04 10:25:18 +01:00

24 lines
809 B
Desktop File

# install in /etc/systemd/system/bisq-seednode.service
[Unit]
Description=Bisq Seed Node
After=network.target
[Service]
EnvironmentFile=/etc/default/bisq-seednode
ExecStart=/home/bisq/bisq/bisq-seednode --appName=${BISQ_APP_NAME} --nodePort=${BISQ_NODE_PORT} --userDataDir=${BISQ_DATA_DIR} --maxConnections=${BISQ_MAX_CONNECTIONS} --maxMemory=${BISQ_MAX_MEMORY} --fullDaoNode=true --rpcUser=${BITCOIN_RPC_USERNAME} --rpcPassword=${BITCOIN_RPC_PASSWORD} --rpcPort=${BITCOIN_RPC_PORT} --rpcBlockNotificationPort=${BITCOIN_RPC_BLOCKNOTIFY_PORT} --baseCurrencyNetwork=${BISQ_BASE_CURRENCY}
ExecStop=/bin/kill -TERM ${MAINPID}
Restart=on-failure
User=bisq
Group=bisq
PrivateTmp=true
ProtectSystem=full
NoNewPrivileges=true
PrivateDevices=true
MemoryDenyWriteExecute=false
[Install]
WantedBy=multi-user.target