Add restart.sh, start.sh, stop.sh

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This commit is contained in:
Adrian Schmutzler 2018-01-19 15:01:37 +01:00
parent b43be1bfcc
commit ef9ea75c11
3 changed files with 23 additions and 0 deletions

13
restart.sh Executable file
View File

@ -0,0 +1,13 @@
#!/bin/bash
printf "\nStopping ...\n\n"
systemctl stop uwsgi-tiles
systemctl stop uwsgi-ffmap
./install.sh
printf "\nStarting ...\n\n"
systemctl start uwsgi-ffmap
systemctl start uwsgi-tiles
printf "Done.\n\n"

5
start.sh Executable file
View File

@ -0,0 +1,5 @@
#!/bin/bash
printf "\nStarting ...\n\n"
systemctl start uwsgi-ffmap
systemctl start uwsgi-tiles

5
stop.sh Executable file
View File

@ -0,0 +1,5 @@
#!/bin/bash
printf "\nStopping ...\n\n"
systemctl stop uwsgi-tiles
systemctl stop uwsgi-ffmap