1
0
mirror of https://github.com/moparisthebest/arch-ppa synced 2024-10-31 15:25:02 -04:00
arch-ppa/src/searx-py3/searx.service
2017-11-26 12:53:48 -05:00

22 lines
404 B
Desktop File

[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-failure
RestartSec=1
[Install]
WantedBy=multi-user.target