Automatic start by using systemd
From aquarium-doc
Revision as of 21:09, 4 October 2022 by Uwe (talk | contribs) (Created page with "The content of systemd unit file /lib/systemd/system/aquarium-ctrl.service as following: <code> [Unit] Description=Aquarium Control Application After=multi-user.target [Service] Type=forking ExecStart=bash /usr/local/src/aquarium-ctrl/aquarium-ctrl-startup.sh [Install] WantedBy=multi-user.target </code>")
The content of systemd unit file /lib/systemd/system/aquarium-ctrl.service as following:
[Unit]
Description=Aquarium Control Application
After=multi-user.target
[Service]
Type=forking
ExecStart=bash /usr/local/src/aquarium-ctrl/aquarium-ctrl-startup.sh
[Install]
WantedBy=multi-user.target