Skip to content

Commit

Permalink
Some protection (need testing)
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefal committed Nov 12, 2023
1 parent 516598b commit 6413bc7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions unit/rtkbase_web.service
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ User=root
ExecStart={python_path} {script_path}/web_app/server.py
Restart=on-failure
RestartSec=30
ProtectHome=read-only
ProtectSystem=strict
ReadWritePaths={script_path}

[Install]
WantedBy=multi-user.target

0 comments on commit 6413bc7

Please sign in to comment.