Commit Graph

144 Commits

Author SHA1 Message Date
Mark 15fd91078f qmicli drop-in. Add timeout and service type 2022-01-01 23:38:08 +00:00
Mark 601f05cb21 qmicli drop-in. Use --client-no-release-cid 2022-01-01 23:32:33 +00:00
Mark d7ab2d99d8 qmicli drop-in. Use RemainAfterExit. 2022-01-01 23:24:51 +00:00
Mark 4dbcb5cfa7 qmicli drop-in. Add note about empty values! 2022-01-01 23:17:46 +00:00
Mark f936dd5389 qmicli drop-in for wwan0 2022-01-01 23:04:26 +00:00
Mark 2ed72e9c5c disable lldp for wwan0 to prevent increased "fun" 2021-12-31 20:47:39 +00:00
Mark b02e4d40ae add wwan0 drop-in for debian. 2021-12-31 16:00:39 +00:00
Mark 3f3a9de678 Deb drop-ins: add stp to bridge and IP forwarding to wlan 2021-12-30 20:23:35 +00:00
Mark f7ef9261be Debian drop-ins:
* Spacing in files
 * Add bridging
2021-12-30 17:17:52 +00:00
Mark 2dfb566d93 Correct drop-in comments 2021-12-26 11:55:15 +00:00
Mark 17094983f6 update chmod for drop-in 2021-12-26 10:40:25 +00:00
Mark a9ad411d85 Deb 11 drop-ins: Correct eth0, add wlan0 and wpa_supplicant configs 2021-12-26 10:37:03 +00:00
Mark c012d1a56e Deb 11 drop-in: set dns in network files rather than resolve conf and use file numbering 2021-12-25 09:59:46 +00:00
Mark 8c154d655b Alpine: Basic interface
Debian: Systemd drop-ins for resolved & eth0.network
2021-12-24 12:49:48 +00:00
Mark 09bfe596d0 Debian: Caddyfile improvements
* Improved comments & include debug directive (not enabled obviously)
* E-mails for certs aren't required
* Nicer error handling + just output basic error messages
* Use try_files for php-fastcgi directive so we avoid sending not-found PHP files to PHP-FPM - this requires Caddy >= 2.4.6
2021-12-04 08:09:32 +00:00
Mark e4a2180d54 Caddyfile: Rewrite php errors so they get caught by the error handler. 2021-07-22 23:26:57 +01:00
Mark f44455b4b2 remove old prefix! 2021-07-22 21:07:16 +01:00
Mark e7ac051910 add_pool script. 2021-07-22 20:48:28 +01:00
Mark e5e1316f6c Caddyfile: Add a 'nicer' error page.
I forgot most browsers will ignore output unless it's a certain length, sigh, well I suppose we better pad it a bit.
2021-07-16 15:14:24 +01:00
Mark cca9914b31 being too verbose again! 2021-07-16 13:08:43 +01:00
Mark 9ca0a834c5 caddy_link_site.sh: link a domain to a site setup elsewhere.
sudo bash caddy_link_site.sh </path/to/site/dir/containing/htdocs/> <site name without www> <optional public dirname - default htdocs>
2021-07-16 13:02:03 +01:00
Mark 167f2d9788 Create site directories and be less verbose!
setup_site.sh: Easily create site directories, set permissions and allow web-server group read access to just the htdocs. Example use: sudo bash create_site.sh /home/mark/sites/dummy.markc.net/ markc markc caddy
sshd_sftp.sh: No need to be so verbose.
2021-07-10 08:42:50 +01:00
Mark 31b7246474 Small readme update 2021-07-02 20:47:30 +01:00
Mark a419e290e9 Caddyfile: another error message tweak
sshd_sftp.sh can now be called with a username as an argument to add said user to the sftp group
2021-07-02 20:39:00 +01:00
Mark e8db71cebf Caddyfile: change error message slightly 2021-06-27 20:17:11 +01:00
Mark 5630d330d0 PHP-FPM: no need to stop the service after install 2021-06-27 20:04:25 +01:00
Mark 60b2564fcd MariaDB - rename add user & db script. 2021-06-27 20:02:15 +01:00
Mark 58794c236a Remove additional line from php8.0-sury_install.sh 2021-06-27 10:34:52 +01:00
Mark c36a7be79e Add php8.0-sury_install.sh 2021-06-27 10:33:34 +01:00
Mark d3aef17ca8 Caddy - just restart the service rather than stopping it. 2021-06-27 10:23:31 +01:00
Mark c52c567de6 Caddyfile: keep it simple - just print out a single line for errors. 2021-06-27 10:20:26 +01:00
Mark dd26997692 - Discovery! We do not need to mangle the system-provided sshd_config to override the sftp subsystem anymore.
This thankfully means that upon package upgrades we no longer get "diff-stopped" (yes I just made that up).
- Add simple sshd_limit_passwords.sh. I've called it limit_passwords instead of no_passwords because it can be overriden by other drop-ins.
2021-06-25 16:42:26 +01:00
Mark 996082c4c0 comment-out default sftp subsystem line 2021-06-24 10:27:22 +01:00
Mark 8d2755f4e8 add sshd_sftp.sh script 2021-06-24 10:13:17 +01:00
Mark 84a7dd1f90 - use all lowercase files and folders
- template.sh for new scripts
- add mariadb install / add user scripts
2021-06-23 19:37:20 +01:00
Mark 17ee9ec006 Caddyfile remove , 2021-06-17 19:57:50 +01:00
Mark 8f9cef55d1 Caddy - Setup config 2021-06-17 19:29:53 +01:00
Mark 8351016918 Caddy - add installer. 2021-06-17 19:24:51 +01:00
Mark f27eae0737 replace ssl-cert with python3-certbot-nginx 2021-06-09 23:14:45 +01:00
Mark 57e61758f7 add more packages to nginx.sh 2021-06-09 22:54:46 +01:00
Mark 6e08647a18 Add nginx.sh 2021-06-09 22:51:19 +01:00
Mark f4620a56e5 toggle-motd.sh - use else 2021-06-09 17:47:39 +01:00
Mark 1619eba80d - initial .sh template
- add simple way to toggle Debian (bullseye) motd
2021-06-09 17:36:31 +01:00
Mark 4ee7fe4bc6 Initial commit 2021-06-09 17:21:01 +01:00