J. King
3 years ago
6 changed files with 32 additions and 63 deletions
@ -1,33 +0,0 @@ |
|||
[Unit] |
|||
Description=The Arsse newsfeed client service |
|||
Documentation=https://thearsse.com/manual/ |
|||
|
|||
[Service] |
|||
User=arsse |
|||
Group=arsse |
|||
Type=simple |
|||
WorkingDirectory=/usr/share/webapps/arsse |
|||
ExecStart=/usr/bin/uwsgi /etc/webapps/arsse/uwsgi.ini |
|||
|
|||
ProtectProc=invisible |
|||
NoNewPrivileges=true |
|||
ProtectSystem=full |
|||
ProtectHome=true |
|||
RuntimeDirectory=arsse |
|||
StateDirectory=arsse |
|||
ConfigurationDirectory=webapps/arsse |
|||
ReadOnlyPaths=/ |
|||
ReadWriePaths=/usr/lib/arsse |
|||
NoExecPaths=/ |
|||
ExecPaths=/usr/bin/uwsgi |
|||
PrivateTmp=true |
|||
PrivateDevices=true |
|||
RestrictSUIDSGID=true |
|||
StandardOutput=journal |
|||
StandardError=journal |
|||
SyslogIdentifier=arsse |
|||
Restart=on-failure |
|||
RestartPreventStatus= |
|||
|
|||
[Install] |
|||
WantedBy=multi-user.target |
@ -0,0 +1,16 @@ |
|||
[arsse] |
|||
user = arsse |
|||
group = arsse |
|||
listen = /run/php-fpm/arsse.sock |
|||
listen.owner = arsse |
|||
listen.group = http |
|||
pm = dynamic |
|||
pm.max_children = 5 |
|||
pm.start_servers = 2 |
|||
pm.min_spare_servers = 1 |
|||
pm.max_spare_servers = 3 |
|||
|
|||
php_value[extension] = intl |
|||
php_value[extension] = dom |
|||
php_value[extension] = iconv |
|||
php_value[extension] = sqlite3 |
@ -1,15 +0,0 @@ |
|||
[uwsgi] |
|||
|
|||
strict=true |
|||
uwsgi-socket=/run/arsse/uwsgi.socket |
|||
master=true |
|||
processes=4 |
|||
workers=2 |
|||
vacuum=true |
|||
plugin=php |
|||
php-sapi-name=apache |
|||
php-set=extension=curl |
|||
php-set=extension=iconv |
|||
php-set=extension=intl |
|||
php-set=extension=sqlite3 |
|||
php-app=/usr/share/webapps/arsse/arsse.php |
Loading…
Reference in new issue