Skip to content

Commit

Permalink
add caps
Browse files Browse the repository at this point in the history
  • Loading branch information
bastelfreak committed Dec 9, 2016
1 parent d813771 commit 6c2edcf
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions ext/marmoset_with_cap.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[Unit]
Description=marmoset API
After=network.target

[Service]
WorkingDirectory=/home/marmoset/marmoset
ExecStart=/home/marmoset/marmoset/prod/bin/python3 /home/marmoset/marmoset/marmoset.py server
User=marmoset
Group=marmoset
PrivateTmp=true
AmbientCapabilities=CAP_LINUX_IMMUTABLE

[Install]
WantedBy=multi-user.target
File renamed without changes.

0 comments on commit 6c2edcf

Please sign in to comment.