1
0
mirror of https://github.com/moparisthebest/arch-ppa synced 2024-08-13 15:43:47 -04:00
arch-ppa/src/searx/searx.service

20 lines
388 B
SYSTEMD
Raw Normal View History

2016-11-05 02:18:08 -04:00
[Unit]
Description=Searx server
After=network.target
[Service]
Type=simple
User=searx
Environment=SEARX_SETTINGS_PATH=/etc/searx/settings.yml
PrivateTmp=true
PrivateDevices=true
# Prevent accessing /home, /root and /run/user
ProtectHome=true
# Prevent writes to /usr, /boot, and /etc
ProtectSystem=full
ExecStart=/usr/bin/searx-run
Restart=on-abort
[Install]
WantedBy=multi-user.target