1 2 3 4 5 6 7 8 9 10 11 12 13
[Unit] Description=Web server/framework written in Erlang After=syslog.target network.target [Service] Type=forking GuessMainPID=no ExecStart=/usr/bin/yaws --daemon --heart ExecReload=/usr/bin/yaws --hup ExecStop=/usr/bin/yaws --stop [Install] WantedBy=multi-user.target