diff --git a/ncnu-course-api.service b/ncnu-course-api.service index 09441f6..ba55d2b 100644 --- a/ncnu-course-api.service +++ b/ncnu-course-api.service @@ -8,7 +8,7 @@ ExecStart=python3 api.py Restart=always WorkingDirectory=/var/www/html/NCNU_Course -User=pi +User=course RestartSec=10s