hi
This commit is contained in:
commit
2a63bc4e50
14 files changed
+1104
No files matched your search
@@ -0,0 +1,23 @@
|
||||
[Unit]
|
||||
Description=Amnesia licensing API
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=amnesia
|
||||
Group=amnesia
|
||||
WorkingDirectory=/srv/amnesia/licensing
|
||||
EnvironmentFile=/etc/amnesia-licensing.env
|
||||
ExecStart=/srv/amnesia/licensing/.venv/bin/python /srv/amnesia/licensing/run.py
|
||||
Restart=on-failure
|
||||
RestartSec=3
|
||||
StateDirectory=amnesia-licensing
|
||||
UMask=0077
|
||||
NoNewPrivileges=true
|
||||
PrivateTmp=true
|
||||
ProtectSystem=strict
|
||||
ProtectHome=true
|
||||
ReadWritePaths=/var/lib/amnesia-licensing
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in new issue
Block a user