diff options
Diffstat (limited to 'baserock_webserver/hastebin/haste-server.service.in')
-rw-r--r-- | baserock_webserver/hastebin/haste-server.service.in | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/baserock_webserver/hastebin/haste-server.service.in b/baserock_webserver/hastebin/haste-server.service.in new file mode 100644 index 00000000..1da2c588 --- /dev/null +++ b/baserock_webserver/hastebin/haste-server.service.in @@ -0,0 +1,13 @@ +[Unit] +Description = Haste server + +[Service] +Type = simple +WorkingDirectory={{ haste_server_install_location }} +ExecStart = /usr/bin/node {{ haste_server_install_location }}/server.js +User = hastebin +Group = hastebin +Restart = on-failure + +[Install] +WantedBy=default.target |