Commit graph

5 commits

Author SHA1 Message Date
Antoine Catton
bbb0bece8b Remove "--deamon" option (which was forking) 2015-06-19 08:48:28 +02:00
Antoine Catton
45d165948c Remove forking and let systemd manage the process
`--erlarg -noinput` passes the argument `-noinput` to the underlying
`erl` command.
2015-06-19 08:48:28 +02:00
Antoine Catton
950aeb6dbf Use instance id instead of configuration file 2015-06-19 08:48:28 +02:00
Antoine Catton
76616c4bf1 Remove /usr/bin/echo from stop and reload commands
Actually execute the reload/stop commands instead of echoing them
2015-06-19 08:48:28 +02:00
Antoine Catton
6da4624fc6 Rename unit file to allow instance specification
The provided unit files uses the instance name for the configuration
file (%i), allowing the user to run:
  # systemctl start yaws@example.service

This feature needs the unit file to end by an at sign.

Signed-off-by: Antoine Catton <devel@antoine.catton.fr>
2015-06-19 08:48:28 +02:00
Renamed from yaws.service (Browse further)