diff options
Diffstat (limited to 'fastbangs-git/fastbangs.service')
-rw-r--r-- | fastbangs-git/fastbangs.service | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/fastbangs-git/fastbangs.service b/fastbangs-git/fastbangs.service new file mode 100644 index 0000000..7ba3bb2 --- /dev/null +++ b/fastbangs-git/fastbangs.service @@ -0,0 +1,33 @@ +[Unit] +Description=fastbangs search engine redirect service +After=network.target +Wants=network-online.target + +[Service] +WorkingDirectory=/var/lib/fastbangs +ExecStart=/usr/bin/fastbangs +User=fastbangs +LockPersonality=yes +MemoryDenyWriteExecute=yes +NoNewPrivileges=yes +PrivateDevices=true +PrivateTmp=true +ProtectClock=yes +ProtectControlGroups=yes +ProtectHome=true +ProtectHostname=yes +ProtectKernelLogs=yes +ProtectKernelModules=yes +ProtectKernelTunables=yes +ProtectSystem=full +RestrictAddressFamilies=~AF_PACKET AF_NETLINK +RestrictNamespaces=yes +RestrictSUIDSGID=yes +RestrictRealtime=yes +Restart=always +SystemCallArchitectures=native +SystemCallFilter=@system-service +Type=simple + +[Install] +WantedBy=multi-user.target |