github.com/ava-labs/avalanchego@v1.11.11/.github/packer/roles/public-ami/templates/avalanchego.service.j2 (about)

     1  [Unit]
     2  Description=Avalanche go client
     3  After=syslog.target network.target
     4  
     5  [Service]
     6  User=avalanche
     7  Type=simple
     8  Environment=HOME=/home/avalanche
     9  ExecStart=/usr/local/bin/avalanchego --config-file /etc/avalanchego/conf.json
    10  KillMode=process
    11  KillSignal=SIGINT
    12  TimeoutStopSec=90
    13  Restart=on-failure
    14  RestartSec=10s
    15  LimitNOFILE=65000
    16  
    17  [Install]
    18  WantedBy=multi-user.target