Files
.github
etc
apt
bind
clamav
dovecot
logrotate.d
mysql
nginx
postfix
postfix-clearnet
security
ssh
sysctl.d
systemd
system
dovecot.service.d
mariadb.service.d
postfix.service.d
postfix@.service.d
tor@default.service.d
hosting-del.service
hosting-del.timer
hosting.service
hosting.timer
nginx.service
php7.4-fpm.service
php7.4-fpm@.service
php7.4-fpm@default.service
php8.0-fpm.service
php8.0-fpm@.service
php8.0-fpm@default.service
razorfy.service
rspamd.service
journald.conf
timesyncd.conf
tor
login.defs
razorfy.conf
rc.local
resolv.conf
usr
var
COPYING
README.md
clean_nginx_sockets.sh
install_binaries.sh
hosting/etc/systemd/system/nginx.service
2020-02-08 22:37:57 +01:00

35 lines
816 B
Desktop File

[Unit]
Description=A high performance web server and a reverse proxy server
After=network.target nss-lookup.target
[Service]
Type=forking
PIDFile=/run/nginx.pid
LimitNOFILE=100000
TimeoutStartSec=600
TimeoutStopSec=5
KillMode=mixed
ExecStop=/usr/sbin/nginx -s stop
ExecStartPre=/usr/sbin/nginx -t -q
ExecStart=/usr/sbin/nginx
ExecReload=/usr/sbin/nginx -s reload
ProtectSystem=strict
PrivateTmp=true
NoNewPrivileges=true
PrivateDevices=true
ProtectKernelTunables=true
ProtectKernelModules=true
ProtectControlGroups=true
LockPersonality=true
SystemCallArchitectures=native
ReadWritePaths=-/var/log/nginx/
ReadWritePaths=-/var/lib/nginx/
ReadWritePaths=-/var/www/var/run/
ReadWritePaths=-/var/spool/postfix/
ReadWritePaths=-/run/
InaccessiblePaths=-/root/
RuntimeDirectory=nginx
[Install]
WantedBy=multi-user.target