Skip to content

Commit 6c2edcf

Browse files
committed
add caps
1 parent d813771 commit 6c2edcf

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

ext/marmoset_with_cap.service

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
[Unit]
2+
Description=marmoset API
3+
After=network.target
4+
5+
[Service]
6+
WorkingDirectory=/home/marmoset/marmoset
7+
ExecStart=/home/marmoset/marmoset/prod/bin/python3 /home/marmoset/marmoset/marmoset.py server
8+
User=marmoset
9+
Group=marmoset
10+
PrivateTmp=true
11+
AmbientCapabilities=CAP_LINUX_IMMUTABLE
12+
13+
[Install]
14+
WantedBy=multi-user.target

0 commit comments

Comments
 (0)