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