22 lines
526 B
Plaintext
22 lines
526 B
Plaintext
![]() |
[Unit]
|
||
|
Description=Psono password manager API server
|
||
|
After=redis.service postgresql.service postgresql11.service
|
||
|
|
||
|
[Service]
|
||
|
User={{ psono_user }}
|
||
|
WorkingDirectory={{ psono_root_dir }}/server/app/psono
|
||
|
ExecStart={{ psono_root_dir }}/server/venv/bin/gunicorn -b 0.0.0.0:{{ psono_server_port }} wsgi
|
||
|
PrivateTmp=yes
|
||
|
PrivateDevices=yes
|
||
|
ProtectSystem=full
|
||
|
ProtectHome=yes
|
||
|
NoNewPrivileges=yes
|
||
|
MemoryLimit=1024M
|
||
|
SyslogIdentifier=psono-server
|
||
|
Restart=on-failure
|
||
|
StartLimitInterval=0
|
||
|
RestartSec=30
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|