summarylogtreecommitdiffstats
path: root/searx.service
blob: aa436128ed4f2e4997bb7236e0d83c3c19147b85 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[Unit]
Description=Searx server
After=network.target

[Service]
PrivateTmp=true
PrivateDevices=true
# Prevent access to /home, /root, and /run/user
ProtectHome=true
# Prevent writes to /usr, /boot, and /etc
ProtectSystem=full
Environment=SEARX_SETTINGS_PATH=/etc/searx/settings.yml
Type=simple
User=searx
ExecStart=/usr/bin/searx-run
Restart=on-abort

[Install]
WantedBy=multi-user.target