arch-ppa/src/searx/searx.service

22 lines
404 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
2017-03-13 12:19:25 -04:00
Restart=on-failure
RestartSec=1
2016-11-05 02:18:08 -04:00
[Install]
WantedBy=multi-user.target