summarylogtreecommitdiffstats
path: root/lbrycrd.service
diff options
context:
space:
mode:
authorredfish2020-08-23 00:34:23 +0000
committerredfish2020-08-22 20:38:59 -0400
commit14f1e23a18a7bbd19a5724fadad23c6065249c83 (patch)
tree49c388ea72d1c426657e6dbdff8ce769e9da5656 /lbrycrd.service
parent262fdf48f2161f1c6487490205e311fb068caad3 (diff)
downloadaur-14f1e23a18a7bbd19a5724fadad23c6065249c83.tar.gz
use PIDFile for service
Diffstat (limited to 'lbrycrd.service')
-rw-r--r--lbrycrd.service8
1 files changed, 6 insertions, 2 deletions
diff --git a/lbrycrd.service b/lbrycrd.service
index e7968357915..a3008ace5fe 100644
--- a/lbrycrd.service
+++ b/lbrycrd.service
@@ -5,8 +5,12 @@ Description=Blockchain daemon for LBRY
User=lbrycrd
Group=lbrycrd
#WorkingDirectory=/var/lib/lbrycrd
-ExecStart=/usr/bin/lbrycrdd -server
-#SyslogIdentifier=zeronet
+RuntimeDirectory=lbrycrd
+RuntimeDirectoryMode=0700
+Type=forking
+ExecStart=/usr/bin/lbrycrdd -conf=/etc/lbrycrd.conf -pid=/run/lbrycrd/lbrycrd.pid
+PIDFile=/run/lbrycrd/lbrycrd.pid
+#SyslogIdentifier=lbrycrd
#Restart=on-failure
[Install]