页次: 1
# pacman -S shadowsocks
安装后修改/etc/shadowsocks/example.json
能用指定配置的文件的方法启动ss
# sslocal -c /etc/shadowsocks/example.json
现在我想用systemctl启动shadowsocks@.service
# systemctl start shadowsocks@.service
报错
Failed to start shadowsocks@.service: Unit name shadowsocks@.service is not valid.
请问这是哪里出了问题
# cat /usr/lib/systemd/system/shadowsocks@.service
[Unit]
Description=Shadowsocks Client Service
After=network.target
[Service]
Type=simple
User=nobody
ExecStart=/usr/bin/sslocal -c /etc/shadowsocks/%i.json
[Install]
WantedBy=multi-user.target
离线
Giumo Clanjor (哆啦比猫/兰威举)
Where there is a hacker, there is art. | Dogfooding myself. (C++ / Lua / Perl / Rust)
离线
# systemctl start shadowsocks@example
wiki 上写得很清楚
感谢,没想到ss这么火,能上wiki
离线
页次: 1