refactored into python3 script for discourse api
This commit is contained in:
parent
0fecad10ad
commit
d204f74d82
7 changed files with 148 additions and 105 deletions
|
@ -1,8 +1,37 @@
|
|||
[Unit]
|
||||
Description=Send invitation to Hackspace's Plenum
|
||||
Description=Send invitation to Hackspace's Announce Discourse
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/opt/plenums_invite/invite.sh
|
||||
ExecStart=/opt/plenums_invite/invite.py
|
||||
|
||||
WorkingDirectory=/opt/plenums_invite
|
||||
|
||||
UMask=077
|
||||
#DynamicUser=yes
|
||||
|
||||
PrivateDevices=yes
|
||||
PrivateUsers=yes
|
||||
PrivateTmp=yes
|
||||
|
||||
ProtectSystem=strict
|
||||
ProtectHome=yes
|
||||
ProtectClock=yes
|
||||
ProtectKernelModules=yes
|
||||
ProtectKernelTunables=yes
|
||||
ProtectControlGroups=yes
|
||||
ProtectKernelLogs=yes
|
||||
ProtectProc=invisible
|
||||
ProcSubset=pid
|
||||
ProtectHostname=yes
|
||||
|
||||
ReadOnlyDirectories=/
|
||||
|
||||
NoNewPrivileges=true
|
||||
CapabilityBoundingSet=
|
||||
MemoryDenyWriteExecute=true
|
||||
RestrictRealtime=true
|
||||
RestrictNamespaces=true
|
||||
SystemCallArchitectures=native
|
||||
LockPersonality=yes
|
||||
RestrictAddressFamilies=AF_INET AF_INET6
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue