From 69217dd27196dd59c96bc405afe4bfd83ad17c00 Mon Sep 17 00:00:00 2001 From: Ben Morrison Date: Tue, 4 Jun 2019 22:56:28 -0400 Subject: cli flags for db path/type, assets dir. systemd unit file. makefile. --- etc/getwtxt.service | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 etc/getwtxt.service (limited to 'etc/getwtxt.service') diff --git a/etc/getwtxt.service b/etc/getwtxt.service new file mode 100644 index 0000000..0d541ff --- /dev/null +++ b/etc/getwtxt.service @@ -0,0 +1,14 @@ +[Unit] +Description=getwtxt + +[Service] +Type=simple +ExecStart=/usr/local/getwtxt/getwtxt \ + --assets /usr/local/getwtxt/assets \ + --config /usr/local/getwtxt/getwtxt.yml \ + --db /usr/local/getwtxt/getwtxt.db \ + --dbtype leveldb +Restart=always + +[Install] +WantedBy=multi-user.target -- cgit 1.4.1-2-gfad0