[Unit] Description=Netdisk File Room - read-only download HTTP server (port 1525) After=network.target [Service] Type=simple User=ubuntu WorkingDirectory=/home/ubuntu/netdisk/file-room ExecStart=/usr/bin/python3 /home/ubuntu/netdisk/file-room/file_room.py --port 1525 Restart=always RestartSec=5 StandardOutput=append:/home/ubuntu/netdisk/file-room/file_room.log StandardError=append:/home/ubuntu/netdisk/file-room/file_room.log [Install] WantedBy=multi-user.target