You are viewing a single comment's thread from:

RE: How to build Steem manually (HF20 Ready)

in #witness-category6 years ago

Would using systemctl not be more robust? In case of a server reboot, steemd would automatically started.
My /etc/systemd/system/steemd.service:

[Unit]
Description=steemd_server
After=network.target  zram-config.service

[Service]
WorkingDirectory=/home/holger80/.steemd
ExecStart=/usr/bin/steemd --data-dir=/home/holger80/.steemd
Restart=on-failure

[Install]
WantedBy=multi-user.target

The TMPFS file system should also be entered into /etc/fstab in order to be persistent for a reboot:

tmpfs   /dev/shm         tmpfs   defaults,noexec,nosuid,size=82432M          0  0