From 271a88b3f3494bf6910363ada845ad824295fc1d Mon Sep 17 00:00:00 2001 From: yalh76 Date: Tue, 2 Apr 2019 04:14:37 +0200 Subject: [PATCH] force using nodejs 8 --- conf/mastodon-streaming.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/mastodon-streaming.service b/conf/mastodon-streaming.service index 689d482..5f66236 100644 --- a/conf/mastodon-streaming.service +++ b/conf/mastodon-streaming.service @@ -8,7 +8,7 @@ WorkingDirectory=__FINALPATH__/live Environment="NODE_ENV=production" Environment="PORT=__PORT_STREAM__" - ExecStart=/usr/bin/npm run start + ExecStart=/opt/node_n/n/versions/node/8/bin/npm run start TimeoutSec=15 Restart=always StandardError=syslog