Add systemd setup

This commit is contained in:
nolash
2021-06-03 22:23:21 +02:00
parent 49ff9a4b99
commit 374a39edc3
11 changed files with 871 additions and 5 deletions

View File

@@ -0,0 +1,10 @@
[Unit]
Description=Chainqueue transaction dispatch interface
Requires=chaind-eth-sync@.service
After=chaind-eth-sync@.service
[Service]
Environment="SESSION_ID=%i"
Environment="SESSION_RUNTIME_DIR=/run/user/%U/chaind/eth"
ExecStart=%h/.local/bin/chaind-eth-server -v --session-id %i
Restart=on-failure