diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2015-10-25 12:09:29 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2015-10-25 12:22:17 +0100 |
commit | 5e634d62d599c60a34f405e26ef0c3037e9a37a3 (patch) | |
tree | b46460fff2593f1eb7d0e8ed86489910a5d55f93 /systemd/diller-web.template.service | |
parent | 1b77c103b2fe6532ddf8f0625ebafeec8c1f5304 (diff) | |
download | diller-server-5e634d62d599c60a34f405e26ef0c3037e9a37a3.tar.gz diller-server-5e634d62d599c60a34f405e26ef0c3037e9a37a3.tar.bz2 diller-server-5e634d62d599c60a34f405e26ef0c3037e9a37a3.tar.xz diller-server-5e634d62d599c60a34f405e26ef0c3037e9a37a3.zip |
o Experimenting with grunt.
Diffstat (limited to 'systemd/diller-web.template.service')
-rw-r--r-- | systemd/diller-web.template.service | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/systemd/diller-web.template.service b/systemd/diller-web.template.service new file mode 100644 index 0000000..ad48fa5 --- /dev/null +++ b/systemd/diller-web.template.service @@ -0,0 +1,13 @@ +[Service] +ExecStart=/usr/bin/nodejs diller-web.js +WorkingDirectory=%WorkingDirectory% +Restart=always +StandardOutput=syslog +StandardError=syslog +SyslogIdentifier=diller +User=%User% +Group=%Group% +Environment=NODE_ENV=%NODE_ENV% HTTP_PORT=1337 + +[Install] +WantedBy=multi-user.target |