diff options
author | Antonio Rojas | 2023-04-01 11:59:49 +0200 |
---|---|---|
committer | Antonio Rojas | 2023-04-01 11:59:49 +0200 |
commit | fe6b96a4d01d81dfe2302fb0ba3cb27d64e36aa6 (patch) | |
tree | 5ebde45c31f5a1198ca525c1cc924853bed61bdc /openethereum-system.service | |
download | aur-openethereum.tar.gz |
import from community
Diffstat (limited to 'openethereum-system.service')
-rw-r--r-- | openethereum-system.service | 19 |
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 |