System service for Duniter daemon
Created by: M5oul
A systemd file could handle it.
Ticket about issues encounters with YunoHost package.
This systemd file could be installed with Debian package. May be as on Movim package.
Created by: M5oul
A systemd file could handle it.
Ticket about issues encounters with YunoHost package.
This systemd file could be installed with Debian package. May be as on Movim package.
It seems @mmuman has a solution for this: https://diaspora-fr.org/posts/2654077
On crée un fichier /etc/systemd/system/duniter.service
:
[Unit]
Description=Duniter node
After=network.target
ConditionPathExists=/home/duniter/.config/duniter/duniter_default/duniter.db
[Service]
Group=duniter
User=duniter
Type=forking
ExecStart=/usr/bin/duniter start
ExecReload=/usr/bin/duniter restart
ExecStop=/usr/bin/duniter stop
Restart=on-failure
[Install]
WantedBy=multi-user.target
Created by: M5oul
How could we handle webstart
and webrestart
commands?
I think we could add extra service sub-commands.
service duniter web(re)start
Right!
Agreed!
closed