forked from scVENUS/PeekabooAV
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpeekaboo.service
41 lines (34 loc) · 975 Bytes
/
peekaboo.service
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#
# Peekaboo Extended Email Attachment Behavior Observation Owl
# Copyright (c) 2016-2020 science + computing ag.
#
# Install as /etc/systemd/system/peekaboo.service
#
[Unit]
Description=Peekaboo Extended Email Attachment Behavior Observation Owl
After=network.target cuckoo-api.service mysql.service postgresql.service
[Service]
User=peekaboo
WorkingDirectory=/opt/peekaboo/
ExecStart=/opt/peekaboo/bin/peekaboo -c /opt/peekaboo/etc/peekaboo.conf -D
PIDFile=/var/run/peekaboo/peekaboo.pid
KillMode=control-group
Restart=always
Type=notify
StandardOutput=journal
StandardError=journal
RuntimeDirectory=peekaboo
RuntimeDirectoryMode=755
DeviceAllow=/dev/null rw
CapabilityBoundingSet=~CAP_SYS_PTRACE
ProtectSystem=full
# strict
# Not supported by "stable" systemd
# ReadWritePaths=/opt/peekaboo/tmp
# ProtectControlGroups=true
# ProtectKernelTunables=true
# ProtectKernelModules=true
# RestrictRealtime=true
[Install]
WantedBy=multi-user.target
Alias=peekabood.service