ajout de claper
This commit is contained in:
parent
c0eab91a7e
commit
d528292a08
9 changed files with 155 additions and 0 deletions
19
ressources/claper/rootfs/DEBIAN/claper.service
Normal file
19
ressources/claper/rootfs/DEBIAN/claper.service
Normal file
|
@ -0,0 +1,19 @@
|
|||
[Unit]
|
||||
Description=claper
|
||||
|
||||
[Service]
|
||||
User=claper
|
||||
Group=claper
|
||||
EnvironmentFile=/etc/default/claper
|
||||
ExecStart=/usr/bin/mix phx.server
|
||||
WorkingDirectory=/opt/claper
|
||||
PrivateTmp=true
|
||||
PrivateDevices=true
|
||||
ProtectHome=true
|
||||
ProtectSystem=strict
|
||||
Restart=on-failure
|
||||
RestartSec=30s
|
||||
ReadWritePaths=/opt/claper
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Add table
Add a link
Reference in a new issue