Initial native Linux parental control application
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
[Unit]
|
||||
Description=Linux Parental Control
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
|
||||
WorkingDirectory=%INSTALL_DIR%
|
||||
|
||||
Environment="PATH=%INSTALL_DIR%/.venv/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin"
|
||||
Environment="PARENTAL_CONTROL_ENFORCEMENT=1"
|
||||
|
||||
ExecStart=%INSTALL_DIR%/.venv/bin/python -m app.main
|
||||
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
|
||||
User=root
|
||||
Group=root
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user