summarylogtreecommitdiffstats
path: root/openethereum-system.service
diff options
context:
space:
mode:
authorAntonio Rojas2023-04-01 11:59:49 +0200
committerAntonio Rojas2023-04-01 11:59:49 +0200
commitfe6b96a4d01d81dfe2302fb0ba3cb27d64e36aa6 (patch)
tree5ebde45c31f5a1198ca525c1cc924853bed61bdc /openethereum-system.service
downloadaur-openethereum.tar.gz
import from community
Diffstat (limited to 'openethereum-system.service')
-rw-r--r--openethereum-system.service19
1 files changed, 19 insertions, 0 deletions
diff --git a/openethereum-system.service b/openethereum-system.service
new file mode 100644
index 000000000000..d5946f93a275
--- /dev/null
+++ b/openethereum-system.service
@@ -0,0 +1,19 @@
+[Unit]
+Description=OpenEthereum Daemon
+After=network.target
+
+[Service]
+User=openethereum
+Group=openethereum
+DynamicUser=on
+StateDirectory=openethereum
+
+ExecStart=/usr/bin/openethereum --config /etc/openethereum/config.toml
+Restart=on-failure
+
+# Specifies which signal to use when killing a service. Defaults to SIGTERM.
+# SIGHUP gives openethereum time to exit cleanly before SIGKILL (default 90s)
+KillSignal=SIGHUP
+
+[Install]
+WantedBy=default.target