mosh-cookbook icon indicating copy to clipboard operation
mosh-cookbook copied to clipboard

Add mosh service

Open ajsharp opened this issue 12 years ago • 2 comments

This cookbook installs mosh, but does not launch a mosh-server service.

ajsharp avatar Oct 19 '13 00:10 ajsharp

@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.

jtimberman avatar Dec 07 '14 01:12 jtimberman

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

htfy96 avatar Feb 09 '17 06:02 htfy96