[通告] 本论坛迁移啦~请前往位于 https://forum.archlinuxcn.org/ 的新论坛。所有帖子和参与的用户都已经迁移。
您正在访问的是原 bbs.archlinuxcn.org 的静态存档。本页面的新地址位于 https://forum.archlinuxcn.org/t/topic/8351。
页次: 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@examplewiki 上写得很清楚
感谢,没想到ss这么火,能上wiki
离线
页次: 1