mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-11-15 18:02:49 +00:00
22 lines
546 B
Desktop File
22 lines
546 B
Desktop File
[Unit]
|
|
Description=Whirlpool
|
|
After=tor.service
|
|
|
|
[Service]
|
|
WorkingDirectory=/mnt/hdd/mynode/whirlpool
|
|
ExecStartPre=/usr/bin/is_not_shutting_down.sh
|
|
ExecStartPre=/usr/bin/is_mainnet.sh
|
|
ExecStartPre=/usr/bin/wait_on_bitcoin.sh
|
|
ExecStartPre=/usr/bin/mynode_pre_whirlpool.sh
|
|
ExecStart=/usr/bin/java -jar /opt/mynode/whirlpool/whirlpool.jar --server=mainnet --resync --tor --auto-mix --mixs-target=3 --listen
|
|
User=bitcoin
|
|
Group=bitcoin
|
|
Type=simple
|
|
KillMode=control-group
|
|
TimeoutSec=60
|
|
Restart=always
|
|
RestartSec=60
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|