mirror of
https://github.com/SickGear/SickGear.git
synced 2024-11-15 01:15:05 +00:00
Change systemd remove py2 and add basic hardening options (thanks to team sabnzbd).
This commit is contained in:
parent
f21631ce37
commit
4a6cd14465
2 changed files with 8 additions and 3 deletions
|
@ -20,7 +20,8 @@
|
||||||
* Update Tornado Web Server 6.4 (b3f2a4b) to 6.4.1 (2a0e1d1)
|
* Update Tornado Web Server 6.4 (b3f2a4b) to 6.4.1 (2a0e1d1)
|
||||||
* Update unidecode module 1.3.6 (4141992) to 1.3.8 (dfe397d)
|
* Update unidecode module 1.3.6 (4141992) to 1.3.8 (dfe397d)
|
||||||
* Update urllib3 2.0.7 (56f01e0) to 2.2.1 (54d6edf)
|
* Update urllib3 2.0.7 (56f01e0) to 2.2.1 (54d6edf)
|
||||||
* Change growl notifier location for Apprise update refactor
|
* Change growl notifier location for Apprise update refactor
|
||||||
|
* Change systemd remove py2 and add basic hardening options
|
||||||
|
|
||||||
|
|
||||||
### 3.31.0 (2024-06-05 08:00:00 UTC)
|
### 3.31.0 (2024-06-05 08:00:00 UTC)
|
||||||
|
|
|
@ -39,10 +39,14 @@ User=sickgear
|
||||||
Group=sickgear
|
Group=sickgear
|
||||||
|
|
||||||
Environment=PYTHONUNBUFFERED=true
|
Environment=PYTHONUNBUFFERED=true
|
||||||
ExecStart=/usr/bin/python2 /opt/sickgear/app/sickgear.py --systemd --datadir=/opt/sickgear/data
|
ExecStart=/opt/sickgear/app/sickgear.py --systemd --datadir=/opt/sickgear/data
|
||||||
KillMode=process
|
KillMode=process
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
WorkingDirectory=/opt/sickgear
|
ProtectSystem=full
|
||||||
|
DeviceAllow=/dev/null rw
|
||||||
|
DeviceAllow=/dev/urandom r
|
||||||
|
DevicePolicy=strict
|
||||||
|
NoNewPrivileges=yesWorkingDirectory=/opt/sickgear
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
Loading…
Reference in a new issue