[TOC] 实测Vultr洛杉矶和西雅图的还不错。DigitalOcean新加坡还不错。

Ubuntu /etc/rc.local 开机自启

sudo vi /etc/systemd/system/rc-local.service

[Unit]
 Description=/etc/rc.local Compatibility
 ConditionPathExists=/etc/rc.local

[Service]
 Type=forking
 ExecStart=/etc/rc.local start
 TimeoutSec=0
 StandardOutput=tty
 RemainAfterExit=yes
 SysVStartPriority=99

[Install]
 WantedBy=multi-user.target

sudo vi /etc/rc.local

#!/bin/bash

sudo chmod +x /etc/rc.local

sudo systemctl enable rc-local

sudo systemctl status rc-local

20220523_1705_58

Backlinks