Fix systemd launch of timesheetsdb

- Add default environment file with postgres config
- Add full path to npm (makes ubuntu happy)
- Call handlers appropriately when systemd unit files are modified
- Add very basic test

Change-Id: I5b1dfab78e449492be193bccfe470813f3028195
diff --git a/tasks/main.yml b/tasks/main.yml
index 597d5f3..fc4d7ca 100644
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -40,14 +40,6 @@
     repo: "{{ timesheetsdb_repo }}"
     dest: "{{ timesheets_dir }}/db"
     version: "{{ timesheetsdb_version }}"
-
-- name: Create timesheetsdb configuration file
-  template:
-    src: "timesheetsdb_config.json.j2"
-    dest: "{{ timesheets_dir }}/db/timesheetsdb_config.json"
-    owner: "root"
-    group: "{{ timesheets_groupname }}"
-    mode: "0640"
   notify:
     - "restart-timesheetsdb"
 
@@ -59,7 +51,7 @@
     cmd: "npm install"
     creates: "{{ timesheets_dir }}/db/node_modules"
   notify:
-    - "start-timesheetsdb"
+    - "restart-timesheetsdb"
 
 - name: Build timesheetsdb
   become: true
@@ -69,7 +61,7 @@
     cmd: "npm run build"
     creates: "{{ timesheets_dir }}/db/dist"
   notify:
-    - "start-timesheetsdb"
+    - "restart-timesheetsdb"
 
 - name: Create directory for timesheetsui
   file: