mynode/rootfs/standard/etc/systemd/system/whirlpool.service
2022-02-12 21:59:04 -06:00

22 lines
551 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/service_pre/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