first commit
This commit is contained in:
commit
19dfc51360
85 files changed
+25504
No files matched your search
@@ -0,0 +1,58 @@
|
||||
[Unit]
|
||||
Description=ActivePush Exchange ActiveSync server
|
||||
Documentation=file:///usr/share/doc/active-push/README.md
|
||||
Wants=network-online.target
|
||||
After=network-online.target dovecot.service postfix.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=active-push
|
||||
Group=active-push
|
||||
WorkingDirectory=/var/lib/active-push
|
||||
UMask=0077
|
||||
Environment=RUST_LOG=active_push=info,warn
|
||||
Environment=MALLOC_ARENA_MAX=2
|
||||
EnvironmentFile=-/etc/active-push/environment
|
||||
ExecStart=/usr/bin/active-push serve
|
||||
Restart=on-failure
|
||||
RestartSec=3
|
||||
# hanging Ping requests are released on SIGTERM
|
||||
KillSignal=SIGTERM
|
||||
TimeoutStopSec=30
|
||||
LimitNOFILE=65536
|
||||
|
||||
StateDirectory=active-push
|
||||
StateDirectoryMode=0700
|
||||
ConfigurationDirectory=active-push
|
||||
ConfigurationDirectoryMode=0750
|
||||
NoNewPrivileges=true
|
||||
PrivateTmp=true
|
||||
PrivateDevices=true
|
||||
ProtectSystem=strict
|
||||
ProtectHome=true
|
||||
ProtectClock=true
|
||||
ProtectHostname=true
|
||||
ProtectKernelTunables=true
|
||||
ProtectKernelModules=true
|
||||
ProtectKernelLogs=true
|
||||
ProtectControlGroups=true
|
||||
ProtectProc=invisible
|
||||
ProcSubset=pid
|
||||
RestrictSUIDSGID=true
|
||||
RestrictNamespaces=true
|
||||
RestrictRealtime=true
|
||||
# AF_UNIX is needed only for the optional sendmail method
|
||||
RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
|
||||
SystemCallArchitectures=native
|
||||
SystemCallFilter=@system-service
|
||||
SystemCallFilter=~@privileged @resources
|
||||
LockPersonality=true
|
||||
MemoryDenyWriteExecute=true
|
||||
CapabilityBoundingSet=
|
||||
AmbientCapabilities=
|
||||
ReadWritePaths=/var/lib/active-push
|
||||
# sendmail method: postfix needs its queue directory
|
||||
# ReadWritePaths=/var/spool/postfix/maildrop
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in new issue
Block a user