Hello,
How to stop the eud services properly as there are lots of background services running.
Just want to test how to stop and start manually without any issues.
eud-cli stop
you can also eud-cli enable and eud-cli disable to enable/disable it as an actual deamon / system service if you are using a system with systemd. This is so it will start automatically on boot. See code below extracted from eud-cli.bash:
status)
systemctl --user status "$eudaemon_name"".service"
;;
start)
systemctl --user start "$eudaemon_name"".service"
;;
stop)
systemctl --user stop "$eudaemon_name"".service"
;;
enable)
systemctl --user enable "$eudaemon_name"".service"
;;
disable)
systemctl --user disable "$eudaemon_name"".service"
;;
daemonise)
mkdir -p ~/.config/systemd/user/
cat <<EOF > ~/.config/systemd/user/"$eudaemon_name"".service"
[Unit]
Description=$eudaemon_name the eudaemon
After=network.target
[Service]
Type=simple
ExecStart=%h/$eudaemon_name/.eud/bin/eud-cli.bash start
ExecStop=%h/$eudaemon_name/.eud/bin/eud-cli.bash stop
RemainAfterExit=true
[Install]
WantedBy=default.target
EOF