Skip to content
Snippets Groups Projects
Unverified Commit ddbd0268 authored by tamaina's avatar tamaina Committed by GitHub
Browse files

Update ubuntu.sh

parent bdce6eba
No related branches found
No related tags found
No related merge requests found
......@@ -406,7 +406,7 @@ tput setaf 7;
npm run init
tput setaf 3;
echo "Check: If Misskey starts;"
echo "Check: If Misskey starts correctly;"
tput setaf 7;
if timeout 20 npm start | grep -q "Now listening on port"; then
echo " OK.";
......@@ -428,7 +428,7 @@ Description=Misskey daemon
[Service]
Type=simple
User=misskey
ExecStart=/usr/local/bin/npm start
ExecStart=`which npm` start
WorkingDirectory=/home/misskey/misskey
Environment="NODE_ENV=production"
TimeoutSec=60
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment