Skip to content

Commit

Permalink
systemd bug workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
cluelessperson committed Jun 19, 2018
1 parent e778416 commit e9b13d1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,9 @@ wget -N "$release"
unzip "$release_file"
mv -n "$release_name"/* ./

# install systemd service
ln -sf "$snowblossom_home/systemd/snowblossom-node.service" /etc/systemd/system/
systemctl daemon-reload
# install systemd service and
# automatically start at boot
systemctl enable snowblossom-node.service
systemctl enable "$snowblossom_home/systemd/snowblossom-node.service"
# (re)start
systemctl restart snowblossom-node.service

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,11 @@ wget -N "$release"
unzip "$release_file" -d ./
mv -n "$release_name"/* ./

# install systemd service
#cp "$snowblossom_home/systemd/snowblossom-miner.service" /etc/systemd/system/
ln -sf "$snowblossom_home/systemd/snowblossom-miner.service" /etc/systemd/system/
systemctl daemon-reload
# install systemd service and
# automatically start at boot
systemctl enable snowblossom-miner.service
systemctl enable "$snowblossom_home/systemd/snowblossom-node.service"
# (re)start
systemctl restart snowblossom-miner.service
systemctl restart snowblossom-node.service

echo "Done!"
echo "You can manage the systemd service normally with:"
Expand Down

0 comments on commit e9b13d1

Please sign in to comment.