summarylogtreecommitdiffstats
path: root/openethereum-system.service
blob: d5946f93a2759bacfda2213d631c2dff61a32b03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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