Tom Mortensen
71a85f020b
fastusr feature
2025-01-22 21:22:49 -08:00
Tom Mortensen
b3e355b29b
xss hardening
2025-01-22 21:22:32 -08:00
Tom Mortensen
1d53c1c1d3
rc.nfsd: current config settings available in /etc/default/nfs
2025-01-08 01:45:27 -08:00
Tom Mortensen
afa025c3a6
rc.nfsd: support user-defined config settings
2025-01-08 00:46:16 -08:00
Tom Mortensen
1af5d0de5d
improve shutdown clean-up
2024-12-20 11:55:26 -08:00
Derek Kaser
f3c1fec95b
fix: restart nfsd if interfaces change
2024-12-16 04:39:34 +00:00
Derek Kaser
21c4f70498
fix: stop knfsd by setting threads to 0
2024-12-16 04:39:20 +00:00
Tom Mortensen
b4888000e8
use absolute paths
2024-11-26 09:42:51 -08:00
Christoph
fa7250b68b
Update rc.S.cont
...
Move check for custom udev files to `rc.S.cont`
2024-11-26 08:54:27 +01:00
Christoph
db4d45b8c2
Update rc.udev
...
- revert changes to install custom udev rules in `rc.udev`
2024-11-26 08:51:46 +01:00
Christoph
3f03dd8d99
Allow custom udev rules
...
This PR allows users to create custom udev rules in `/boot/config/udev` which will be load on boot
2024-11-25 12:18:14 +01:00
tom mortensen
faa1e9fc30
Merge pull request #1915 from bergware/master
...
NTP enhancements
2024-11-20 10:20:10 -08:00
ljm42
1a5cf897a5
Simplify 'rc.nginx update'
2024-11-06 15:40:30 -07:00
bergware
f7cb0f2f00
NTP enhancements
...
- Add new parameter "NTP interval", this can be useful when you run your own NTP servers
- Add pool support, this allows a round-robin selection of NTP servers out of a pool, and improves server availability
2024-11-01 21:47:05 +01:00
Tom Mortensen
c5f1226e83
The 'rc.samba reload' command needs to do a 'restart' if the interfaces changed.
2024-10-28 15:33:59 -07:00
Tom Mortensen
f7c7f08528
Refactor 'update' subommand for services rc files
2024-10-22 13:32:10 -07:00
Tom Mortensen
242d6efd26
rc.ntpd: Fix 'update' subcommand
...
rc.nginx: Fix 'update' subcommand
rc.libvirt: Fix 'vmlist()' function to ignore 'virsh list' headers
rc.library_source: changes to support above
2024-10-20 10:50:00 -07:00
Tom Mortensen
84bb441719
really should re-hash any time dirs are removed from PATH
2024-10-17 15:20:21 -07:00
Tom Mortensen
95c6913c62
small chang in how rc.cgroup2unaid is invoked
2024-10-11 02:24:43 -07:00
Tom Mortensen
a866de833a
Revert "stop ntpd from complaining about multiple IP addresses"
2024-10-11 02:24:43 -07:00
tom mortensen
ee31e35849
Merge pull request #1882 from desertwitch/fix-rsyslogd
...
(bugfix) /etc/rc.d/rc.rsyslogd: OS-native PID for decisions
2024-10-10 17:13:35 -07:00
SimonFair
57ec7909e5
Update rc.sshd
2024-10-10 21:54:16 +01:00
SimonFair
01c6f64b52
Revert sshd loops.
2024-10-10 21:03:02 +01:00
SimonFair
80d567dfde
killall and pgrep updates.
...
Set --ns $$ on commands.
2024-10-10 19:18:54 +01:00
SimonFair
3c007fa1d0
Samba update and to use smbcontrol for reload
2024-10-10 17:17:17 +01:00
desertwitch
06b1c9a20f
/etc/rc.d/rc.rsyslogd: check status before reload
2024-10-10 07:03:48 +02:00
desertwitch
bf6d5982be
/etc/rc.d/rc.rsyslogd: use pgrep, killall with PID namespace
2024-10-10 06:51:05 +02:00
desertwitch
0061c66dfe
/etc/rc.d/rc.rsyslogd: OS-native PID for decisions
...
bugfix: multiple running rsyslogd processes (e.g. spawned by Docker containers) caused the rc.d script to think that the OS-native process was already running, resulting in startup failure of the OSes daemon.
2024-10-09 14:52:44 +02:00
SimonFair
91caf869f5
Set NTP to use inferfaces.
2024-10-08 21:57:48 +01:00
Tom Mortensen
3fb6c2147b
Small change of var name CUSTOMFA to NGINX_CUSTOMFA.
2024-10-02 09:55:44 -07:00
Tom Mortensen
3db6fa9a1d
update rc.bind (but not used)
2024-10-02 09:55:44 -07:00
tom mortensen
0c5987fab0
Merge pull request #1811 from unraid/kill-samba
...
Forcibly kill samba if needed
2024-10-02 09:52:46 -07:00
ljm42
fe2e2ff897
define CUSTOMFA in /etc/defaults/nginx
2024-09-26 16:03:36 -07:00
ljm42
74530129ae
Merge branch 'master' into add-csp-frame-ancestors
2024-09-26 15:52:44 -07:00
tom mortensen
6bdcb38c47
Merge pull request #1869 from ich777/ich777-rc.sshd-fix
...
Fix for rc.sshd
2024-09-26 12:25:09 -07:00
tom mortensen
8c7cdca4aa
Merge pull request #1868 from unraid/ts-redirect
...
redirect http TS url to https TS url
2024-09-26 12:24:42 -07:00
ljm42
0ce3960de6
Improved "Content-Security-Policy frame-ancestors" support
2024-09-25 23:16:52 -07:00
Christoph Hummer
b716920800
Update rc.docker
...
- Remove ID since not necessary
2024-09-24 16:55:21 +02:00
Christoph Hummer
6d749a8b1a
Update rc.docker
...
- Further improvement to stop containers only managed by Unraid or the Compose plugin
- Small fix for the notification
2024-09-24 16:46:02 +02:00
Christoph Hummer
69b95ae27d
Update rc.docker
...
- Only stop Unraid managed containers
- Don't kill containers since Docker will kill them if they won't stop after the set timeout when the daemon is stopping
- Increase timeout for daemon to die to 30 seconds (seems a bit short if 3rd party containers are installed)
- Rephrase message for daemon to die and display it only once
2024-09-24 15:51:46 +02:00
Christoph Hummer
a75bc3d4d7
Fix for rc.sshd
...
- Remove trailing slash to be sure to grab the correct PIDs
2024-09-23 22:16:02 +02:00
ljm42
e8e5ccdf18
redirect http TS url to https TS url
2024-09-23 12:59:05 -07:00
Tom Mortensen
4c6be23467
Clean up empty cgroups
2024-09-20 09:20:44 -07:00
Tom Mortensen
4a4983f7c5
rc.S: reboot should not invoke shutdown
2024-09-20 09:20:44 -07:00
tom mortensen
20ef176665
Merge pull request #1862 from ich777/patch-4
...
Fix for rc.docker for interfaces with higher index than 0
2024-09-16 14:57:48 -07:00
tom mortensen
66d7193dab
Merge pull request #1858 from ich777/rc.sshd_fix
...
Only kill sshd from host
2024-09-16 14:56:54 -07:00
tom mortensen
72abe50721
Merge pull request #1853 from Commifreak/libvirt-log-timeout-info
...
Add a log line noting how long we wait currently for a VM action.
2024-09-16 14:52:55 -07:00
tom mortensen
18e37ed045
Merge pull request #1852 from dkaser/tailscale-nginx
...
Add fastcgi_path_info to default nginx configuration
2024-09-16 14:51:36 -07:00
Christoph Hummer
e3c4ff280d
Small fix
2024-09-12 23:33:27 +02:00
Christoph Hummer
19de7c1979
Fix for rc.docker for interfaces with higher index than 0
...
- Fix error in first if condition which always returned `false`
- Change name from variables so that it a bit easier to read
- Make sure that custom interfaces with a higher index then 0 are properly rebuilt
2024-09-12 23:12:03 +02:00