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

Update update.systemd.sh

parent c1251e79
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,7 @@ git pull;
MKEOF
#endregion
sudo systemctl stop misskey
systemctl stop misskey
#region work with misskey user
su $misskey_user << MKEOF
......@@ -23,4 +23,11 @@ npm run migrate;
MKEOF
#endregion
sudo systemctl start misskey
if [ $1 == "-r" ]; then
apt update -y;
apt full-upgrade -y;
reboot;
else
systemctl start misskey;
fi
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