Make: update script mode

This commit is contained in:
Nick Peng
2021-08-08 15:45:14 +08:00
parent 8c271e34c1
commit 106ec6789c
8 changed files with 24 additions and 0 deletions

0
package/build-pkg.sh Normal file → Executable file
View File

0
package/debian/make.sh Normal file → Executable file
View File

0
package/luci-compat/make.sh Normal file → Executable file
View File

0
package/luci/make.sh Normal file → Executable file
View File

0
package/openwrt/make.sh Normal file → Executable file
View File

0
package/optware/make.sh Normal file → Executable file
View File

5
src/.gitignore vendored Normal file
View File

@@ -0,0 +1,5 @@
.vscode
.o
.DS_Store
.swp.
smartdns

19
systemd/smartdns.service Normal file
View File

@@ -0,0 +1,19 @@
[Unit]
Description=SmartDNS Server
After=network.target
StartLimitBurst=0
StartLimitIntervalSec=60
[Service]
Type=forking
PIDFile=/var/run/smartdns.pid
EnvironmentFile=/etc/default/smartdns
ExecStart=/usr/sbin/smartdns -p /var/run/smartdns.pid $SMART_DNS_OPTS
KillMode=process
Restart=always
RestartSec=2
TimeoutStopSec=5
[Install]
WantedBy=multi-user.target
Alias=smartdns.service