github.com/MetalBlockchain/metalgo@v1.11.9/.github/packer/roles/public-ami/templates/avalanchego.service.j2 (about)

     1  [Unit]
     2  Description=Metal go client
     3  After=syslog.target network.target
     4  
     5  [Service]
     6  User=metal
     7  Type=simple
     8  Environment=HOME=/home/metal
     9  ExecStart=/usr/local/bin/metalgo --config-file /etc/metalgo/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