Skip to content

Instantly share code, notes, and snippets.

@feng409
Created October 2, 2017 15:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save feng409/2ba71f0b89fdc6869502cda7a41a9337 to your computer and use it in GitHub Desktop.
Save feng409/2ba71f0b89fdc6869502cda7a41a9337 to your computer and use it in GitHub Desktop.
custom systemd unit
;=============================================================================
; FileName: shadowsocksR.service
; Desc: LastChange
; Author: chemf
; Email: chemf01@163.com
; HomePage:
; Version: 0.0.1
; LastChange: 2017-10-02 23:18:00
; History:
;=============================================================================
[Unit]
Description=ladder
[Service]
Type=simple
ExecStart=/usr/bin/python3 /home/feng/github/shadowsocks/shadowsocks/local.py -c /home/feng/github/shadowsocks/shadowsocks/shadowsocks.json
User=feng
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment