Open ajsharp opened 10 years ago
@ajsharp I've not worked with mosh in awhile. Do platform packages provide their own management interface to the service? That is, does each platform's package have systemd/init/upstart/whatever scripts for managing the service? I'd rather not add complexity to the cookbook to install/manage all those files if they're not in the packages.
For anyone who needs this, here is my simple mosh-server.service
:
[Unit]
Description=Mosh server
After=network.target
[Service]
Environment="LC_ALL=en_US.UTF8"
ExecStart=/usr/bin/mosh-server
Type=forking
[Install]
WantedBy=default.target
This cookbook installs mosh, but does not launch a mosh-server service.