Skip to content

Commit

Permalink
launch in shell
Browse files Browse the repository at this point in the history
  • Loading branch information
OnceUponALoop committed Apr 16, 2020
1 parent 08251a7 commit c286547
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion microsocks.spec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Name: microsocks
Version: 1.0.1
Release: 4%{?dist}
Release: 5%{?dist}
Summary: Lightweight socks5 server

Group: Applications/Internet
Expand Down Expand Up @@ -68,6 +68,9 @@ rm -rf %{buildroot}


%changelog
* Tue Mar 25 2020 OnceUponALoop <firas.alshafei@us.abb.com> 1.0.1-3
- Support for nologin user

* Tue Mar 25 2020 OnceUponALoop <firas.alshafei@us.abb.com> 1.0.1-3
- Fix bug in systemd unit file not sourcing sysconfig arguments

Expand Down
4 changes: 2 additions & 2 deletions systemd/microsocks.service.in
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ Wants=network-online.target
Type=simple
User=microsocks
EnvironmentFile=-/etc/sysconfig/microsocks
ExecStart=@prefix@/bin/microsocks ${OPTIONS}
ExecStart=@SHELL@ -c '/usr/bin/microsocks ${OPTIONS}'
KillMode=process
Restart=on-failure
RestartSec=42s
RestartSec=30s

[Install]
WantedBy=multi-user.target

0 comments on commit c286547

Please # to comment.