changeset 0 | 474ccafc2349 |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/btcd/templates/btcd.service.j2 Mon Apr 27 11:17:52 2020 -0500 @@ -0,0 +1,17 @@ +[Unit] +Description=btcd +After=network.target + +[Service] +ExecStart=/usr/local/bin/btcd +User={{btcd_user}} +Restart=on-failure + +PrivateTmp=true +ProtectSystem=full +NoNewPrivileges=true +PrivateDevices=true +MemoryDenyWriteExecute=true + +[Install] +WantedBy=multi-user.target