Skip to content

Instantly share code, notes, and snippets.

@oldcai
Created August 22, 2015 01:35
Show Gist options
  • Save oldcai/20c70a377c97ff622f30 to your computer and use it in GitHub Desktop.
Save oldcai/20c70a377c97ff622f30 to your computer and use it in GitHub Desktop.

Revisions

  1. Old Cai created this gist Aug 22, 2015.
    12 changes: 12 additions & 0 deletions shadowsocks.service
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,12 @@
    [Unit]
    Description=Great Shadowsocks Server
    Wants=network-online.target
    After=network.target

    [Service]
    Type=simple
    PIDFile=/run/shadowsocks.pid
    ExecStart=/usr/local/bin/ss-server -c /etc/sysconfig/shadowsocks

    [Install]
    WantedBy=multi-user.target