btcd/templates/btcd.service.j2
changeset 5 5873b7e583d7
parent 4 9934a00b9e97
child 6 e0672e50e2c5
equal deleted inserted replaced
4:9934a00b9e97 5:5873b7e583d7
     1 [Unit]
       
     2 Description=btcd
       
     3 After=network.target
       
     4 
       
     5 [Service]
       
     6 ExecStart=/usr/local/bin/btcd
       
     7 User={{btcd_user}}
       
     8 Restart=on-failure
       
     9 
       
    10 PrivateTmp=true
       
    11 ProtectSystem=full
       
    12 NoNewPrivileges=true
       
    13 PrivateDevices=true
       
    14 MemoryDenyWriteExecute=true
       
    15 
       
    16 [Install]
       
    17 WantedBy=multi-user.target