[Unit] Description=NCNU-Course Python Backend API After=network.target [Service] Type=simple ExecStart=python3 api.py Restart=always WorkingDirectory=/var/www/html/NCNU_Course User=course RestartSec=10s StandardOutput=syslog StandardOutput=syslog SyslogIdentifier=ncnu-course [Install] WantedBy=multi-user.target