mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 09:52:23 +01:00
fe4059a722
* Update seednode systemd service, move env vars to separate file * Update seednode README
24 lines
809 B
Desktop File
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
|