2021-05-05 02:20:01 +02:00
|
|
|
[Unit]
|
2023-03-07 01:14:00 +01:00
|
|
|
Description=Haveno network monitor
|
2021-05-05 02:20:01 +02:00
|
|
|
After=network.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
WorkingDirectory=~
|
|
|
|
Environment="JAVA_OPTS='-Xmx500M'"
|
2023-03-07 01:14:00 +01:00
|
|
|
ExecStart=/home/haveno/haveno/haveno-monitor /home/haveno/monitor.properties
|
2021-05-05 02:20:01 +02:00
|
|
|
ExecReload=/bin/kill -USR1 $MAINPID
|
|
|
|
Restart=on-failure
|
|
|
|
|
2023-03-07 01:14:00 +01:00
|
|
|
User=haveno
|
|
|
|
Group=haveno
|
2021-05-05 02:20:01 +02:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|