Skip to content

Instantly share code, notes, and snippets.

View Haswf's full-sized avatar
🌴
On vacation

Shuyang Fan Haswf

🌴
On vacation
View GitHub Profile
@Haswf
Haswf / frpc.service
Created August 22, 2020 16:05 — forked from imyelo/frpc.service
run frp client as a service on windows and ubuntu / debian
# 1. put frpc and frpc.ini under /usr/local/frpc/
# 2. put this file (frpc.service) at /etc/systemd/system
# 3. run `sudo systemctl daemon-reload && sudo systemctl start frpc.service`
# Then we can manage frpc with `sudo service frpc {start|stop|restart|status}`
# See also: https://nosame.net/use-frp-to-reverse-proxy-your-nas/
# Alternative for server:
# - Offical: https://github.com/fatedier/frp/blob/a4cfab6/conf/systemd/frpc%40.service
[Unit]
@Haswf
Haswf / pom.xml
Created December 11, 2019 10:31
Failure to find com.sun:tools:pom
<dependency>
<groupId>com.sun</groupId>
<artifactId>tools</artifactId>
<version>1.0</version>
<scope>system</scope>
<systemPath>${JAVA_HOME}/lib/tools.jar</systemPath>
</dependency>