This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin | |
export PATH | |
NAME_BIN="rclone" | |
### BEGIN INIT INFO | |
# Provides: rclone | |
# Required-Start: $all | |
# Required-Stop: $all | |
# Default-Start: 2 3 4 5 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Test Gist in Hexo |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://press.one/p/v?s=297e6ad0820a0ef83e7e3be5b80cf5dc9e570d883c7b83daff72b2096040c12ac701363f43a91216026150091bb0fb8a4dbd0521fcbeaeab2489932d4027511d1&h=36d2fa39f831ef58b3fdcdc4a1b59a42a9434bb408552207e9d538e1ee0dd334&a=77e5df6b17f82eb846d93aa1854063f3dbfb1b79&f=P1&v=2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
### BEGIN INIT INFO | |
# Provides: seafile-server | |
# Required-Start: $remote_fs $syslog mysql | |
# Required-Stop: $remote_fs $syslog | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: Seafile server | |
# Description: Start Seafile server | |
### END INIT INFO |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Seafile client | |
# Uncomment the next line you are running seafile client on the same computer as server | |
# After=seafile.service | |
# Or the next one in other case | |
# After=network.target | |
[Service] | |
Type=oneshot | |
ExecStart=/usr/bin/seaf-cli start |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Seafile hub | |
After=network.target seafile.service | |
[Service] | |
# change start to start-fastcgi if you want to run fastcgi | |
ExecStart=/seafile/seafile-server-latest/seahub.sh start | |
ExecStop=/seafile/seafile-server-latest/seahub.sh stop | |
User=root | |
Group=root |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Seafile | |
# add mysql.service or postgresql.service depending on your database to the line below | |
After=network.target | |
[Service] | |
Type=oneshot | |
ExecStart=/seafile/seafile-server-latest/seafile.sh start | |
ExecStop=/seafile/seafile-server-latest/seafile.sh stop | |
RemainAfterExit=yes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server | |
{ | |
listen 80; | |
listen 443 ssl http2; | |
server_name cloud.liangs.me; | |
index index.php index.html index.htm default.php default.htm default.html; | |
root /www/wwwroot/cloud.liangs.me; | |
#SSL-START SSL相关配置,请勿删除或修改下一行带注释的404规则 | |
#error_page 404/404.html; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git config --global https.proxy http://127.0.0.1:1080 | |
git config --global https.proxy https://127.0.0.1:1080 | |
git config --global --unset http.proxy | |
git config --global --unset https.proxy | |
npm config delete proxy |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
—– BEGIN LICENSE —– | |
Anthony Sansone | |
Single User License | |
EA7E-878563 | |
28B9A648 42B99D8A F2E3E9E0 16DE076E | |
E218B3DC F3606379 C33C1526 E8B58964 | |
B2CB3F63 BDF901BE D31424D2 082891B5 | |
F7058694 55FA46D8 EFC11878 0868F093 | |
B17CAFE7 63A78881 86B78E38 0F146238 | |
BAE22DBB D4EC71A1 0EC2E701 C7F9C648 |