Odroid CloudShell with Systemd
Goal: Create cloudshell.service Managed by Systemd
As Ubuntu 15.10 now uses systemd rather than upstart, I needed to create a .service file in order to run cloudshell as a service via systemd. This is what I cam up with and seems to work good enough for a first pass. I saved this into /etc/systemd/system/cloudshell.service
.
I modified /bin/cloudshell
to set the TERM variable by adding a line export TERM="linux"
in the configuration section at the top of the file. In order to get the network transmit and receive statistics to show up properly, I needed to modify the line:
to read:
After saving off the modifications to /bin/cloudshell
, I followed up with a systemctl enable cloudshell
and a systemctl start cloudshell
and the TFT on the front of the cloudshell case began displaying basic and accurate information as expected, and upon reboot.