updated readme
This commit is contained in:
@@ -28,14 +28,13 @@ The application currently targets Linux systems using `systemd`.
|
||||
You need:
|
||||
|
||||
- Linux
|
||||
- Python 3
|
||||
- `Python 3`
|
||||
- `python-venv`
|
||||
- `pip`
|
||||
- `systemd`
|
||||
- `sudo`
|
||||
- `passwd`
|
||||
- `loginctl`
|
||||
- Git
|
||||
|
||||
The enforcement service requires **root privileges** because it manages other Linux users and their sessions.
|
||||
|
||||
@@ -58,6 +57,6 @@ chmod +x install.sh
|
||||
```bash
|
||||
sudo ./install.sh
|
||||
```
|
||||
### You can access it via http://127.0.0.1:8765/admin
|
||||
If the installation is successful you`ll now have an working native applipcation
|
||||
|
||||
|
||||
|
||||
+7
-3
@@ -1,4 +1,8 @@
|
||||
{
|
||||
"usage": {},
|
||||
{
|
||||
"usage": {
|
||||
"testuser1": {
|
||||
"2026-09-18": 300
|
||||
}
|
||||
},
|
||||
"temporary_grants": []
|
||||
}
|
||||
}
|
||||
+46
-1
@@ -1 +1,46 @@
|
||||
users: []
|
||||
users:
|
||||
- id: 1
|
||||
username: testuser1
|
||||
enabled: true
|
||||
daily_allowance:
|
||||
sunday: 300
|
||||
monday: 300
|
||||
tuesday: 300
|
||||
wednesday: 300
|
||||
thursday: 300
|
||||
friday: 300
|
||||
saturday: 300
|
||||
access_windows:
|
||||
sunday:
|
||||
- start: '16:00'
|
||||
end: '21:00'
|
||||
monday:
|
||||
- start: '16:00'
|
||||
end: '21:00'
|
||||
tuesday:
|
||||
- start: '16:00'
|
||||
end: '21:00'
|
||||
wednesday:
|
||||
- start: '16:00'
|
||||
end: '21:00'
|
||||
thursday:
|
||||
- start: '16:00'
|
||||
end: '21:00'
|
||||
friday:
|
||||
- start: 00:00
|
||||
end: 01:00
|
||||
saturday:
|
||||
- start: '16:00'
|
||||
end: '21:00'
|
||||
- id: 2
|
||||
username: testuser2
|
||||
enabled: true
|
||||
daily_allowance:
|
||||
sunday: 0
|
||||
monday: 0
|
||||
tuesday: 0
|
||||
wednesday: 0
|
||||
thursday: 0
|
||||
friday: 0
|
||||
saturday: 0
|
||||
access_windows: {}
|
||||
|
||||
Reference in New Issue
Block a user