From 1cb30cc0aa4fda9bf0bac0b41ace862b1db434b8 Mon Sep 17 00:00:00 2001 From: Luke Hoersten Date: Sun, 9 Feb 2020 12:05:37 -0600 Subject: Moved roles to top level --- writefreely/templates/writefreely.service.j2 | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 writefreely/templates/writefreely.service.j2 (limited to 'writefreely/templates/writefreely.service.j2') diff --git a/writefreely/templates/writefreely.service.j2 b/writefreely/templates/writefreely.service.j2 new file mode 100644 index 0000000..0515872 --- /dev/null +++ b/writefreely/templates/writefreely.service.j2 @@ -0,0 +1,11 @@ +[Unit] +Description=WriteFreely %I Instance +After=syslog.target network.target + +[Service] +WorkingDirectory=/run/writefreely/%i +ExecStart=/usr/local/bin/writefreely -c /etc/writefreely/%i.conf +Restart=always + +[Install] +WantedBy=multi-user.target -- cgit v1.2.3