jtimberman / mosh-cookbook

Chef Cookbook for Mosh
https://supermarket.chef.io/cookbooks/mosh
Apache License 2.0
17 stars 11 forks source link

Add mosh service #14

Open ajsharp opened 10 years ago

ajsharp commented 10 years ago

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

jtimberman commented 9 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.

htfy96 commented 7 years ago

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