Matthew Saunders Brown
c3ffd5c419
rework systemd stuff
...
move service to paths.target
remove startup dependency
change to try-reload-or-restart which has this logic:
Reload service if it supports it.
If not, stop and then start instead.
Does nothing if the service is not running.
2023-12-20 10:07:20 -08:00
Matthew Saunders Brown
c55d506d9c
remove policy-rc.d and needrestart configs, moving them to base-stack
2023-10-09 15:10:35 -07:00
Matthew Saunders Brown
58221f72c5
work on verbose mode output
2023-10-06 13:40:14 -07:00
Matthew Saunders Brown
a94f38f1c1
update script to use vhost-exp.sh
2023-09-01 15:33:08 -07:00
Matthew Saunders Brown
09ec06aee4
rework script - add verbose option, fix database export section
2023-09-01 15:32:35 -07:00
Matthew Saunders Brown
cbf10ae094
specify jails fstab
2023-08-31 11:27:15 -07:00
Matthew Saunders Brown
ff41d465ec
use hardlinks when possible
2023-08-31 11:26:59 -07:00
Matthew Saunders Brown
072cfaba90
replace test username with variable
2023-06-19 15:59:56 -07:00
Matthew Saunders Brown
6a53ec1bb1
new vhost-user-mod.sh script
2023-06-19 10:42:50 -07:00
Matthew Saunders Brown
0deb94ffbe
output unknown instead of nothing for missing values
2023-06-19 10:40:29 -07:00
Matthew Saunders Brown
057afa6e12
new script vhost-mysql-db-get.sh
2023-06-15 17:11:42 -07:00
Matthew Saunders Brown
7afc8ad284
remove trailing emtpy line from jk_socketd.ini
2023-05-20 12:08:08 -07:00
Matthew Saunders Brown
4c688b2bc6
rework macro verification
2023-05-17 15:48:00 -07:00
Matthew Saunders Brown
8c99b89947
add some error checking with exit codes
2023-05-17 15:05:39 -07:00
Matthew Saunders Brown
b3cd92e8ff
add some error checking with exit codes
2023-05-17 14:51:54 -07:00
Matthew Saunders Brown
8cb1be03cb
change WantedBy to multi-user.target
2023-05-12 16:13:31 -07:00
Matthew Saunders Brown
31339b6b81
remove leading slash mistake
2023-05-12 16:04:34 -07:00
Matthew Saunders Brown
7149c743cc
reworked to use new systemd path configs to reload services
2023-05-12 16:03:20 -07:00
Matthew Saunders Brown
1d2ae28e86
autodect write mode
2023-05-10 15:33:47 -07:00
Matthew Saunders Brown
6257436bc6
remove write info for mysql db, info is alwasy written now
2023-05-10 15:29:07 -07:00
Matthew Saunders Brown
05172002df
getopts fixes
2023-05-10 15:23:54 -07:00
Matthew Saunders Brown
8f191a2470
new apache-scan fail2ban filter
2023-05-05 15:07:47 -07:00
Matthew Saunders Brown
2592e4b8e3
change write flag, defaults to enabled
2023-05-04 17:15:27 -07:00
Matthew Saunders Brown
fa65c5dac2
change jail flag, defaults to enabled
2023-05-04 17:00:35 -07:00
Matthew Saunders Brown
6850a5b6e2
rearrange output, set php version only once
2023-04-27 13:20:51 -07:00
Matthew Saunders Brown
77f5fca521
add fpmmax
2023-04-24 14:04:12 -07:00
Matthew Saunders Brown
5425e7a168
move php-fpm config from vhost-add to user-add
2023-04-16 10:50:42 -07:00
Matthew Saunders Brown
a4cc2542d1
set default PHP-FPM pm.max_children
2023-04-16 10:49:38 -07:00
Matthew Saunders Brown
d000064624
remove password warning, only create /home/username/.my.cnf if it doesn't exist
2023-04-15 12:41:56 -07:00
Matthew Saunders Brown
5788ca2040
remove unencrypted password warnings, passwords encrypted now
2023-04-15 12:40:19 -07:00
Matthew Saunders Brown
77b8882969
fix copyright date
2023-04-13 16:19:39 -07:00
Matthew Saunders Brown
a856910b9f
add new bin/vhost-archive.sh script
2023-04-13 16:17:13 -07:00
Matthew Saunders Brown
424d6c36fd
add PHP-FPM pm.max_children variable option
2023-04-10 11:36:52 -07:00
Matthew Saunders Brown
d6a484f95a
add vhost-exp.sh
2023-03-30 15:01:51 -07:00
Matthew Saunders Brown
a61ceec6c1
add vhost-user-get.sh
2023-03-30 14:59:01 -07:00
Matthew Saunders Brown
b150d01b70
encrypt stored passwords
2023-03-30 14:57:56 -07:00
Matthew Saunders Brown
c463be70a2
username can be between 3 and 12 characters
2023-03-30 14:57:07 -07:00
Matthew Saunders Brown
e4e4d4e47a
move database option to mysql section
2023-03-18 16:36:33 -07:00
Matthew Saunders Brown
7bc3188cb3
misc
2023-03-03 10:42:13 -08:00
Matthew Saunders Brown
93629297ba
fix check for /etc/firewalld/
2022-11-17 14:43:40 -08:00
Matthew Saunders Brown
6bf7c44560
open http ports in firewalld
2022-11-16 15:10:52 -08:00
Matthew Saunders Brown
f9bbdeddc2
fix paths to systemd files
2022-10-21 14:43:49 -07:00
Matthew Saunders Brown
980574bdc1
clean up and rework vhost-enable.sh
2022-10-21 14:41:20 -07:00
Matthew Saunders Brown
a40e7b73db
change target to multi-user
2022-10-21 10:29:14 -07:00
Matthew Saunders Brown
427f8f1c28
move systemd configs to /usr/local/...
2022-10-20 11:45:00 -07:00
Matthew Saunders Brown
cdde6bd201
add systemd/jail-mounts.service
2022-10-20 11:44:41 -07:00
Matthew Saunders Brown
059927c38c
configure needrestart
2022-10-18 16:28:39 -07:00
Matthew Saunders Brown
b440ac403e
add customized etc/apache2/mods-available/ssl.conf
2022-09-19 16:28:36 -07:00
Matthew Saunders Brown
2529f4a30f
fix existing vhost check
2022-09-13 12:59:36 -07:00
Matthew Saunders Brown
5adac1b4b3
fix variable name
2022-09-13 12:58:18 -07:00