22 lines
504 B
Desktop File
22 lines
504 B
Desktop File
[Unit]
|
|
Description=Coulobre remote installation
|
|
After=network-online.target
|
|
CollectMode=inactive-or-failed
|
|
|
|
[Service]
|
|
Type=exec
|
|
User=root
|
|
WorkingDirectory=/opt/coulobre
|
|
StateDirectory=coulobre-remote-deploy
|
|
StateDirectoryMode=0700
|
|
RuntimeDirectory=coulobre-remote-deploy-%i
|
|
RuntimeDirectoryMode=0700
|
|
UMask=0077
|
|
ExecStart=/opt/coulobre/bin/python -I -m coulobre.remote_deployment
|
|
StandardInput=socket
|
|
StandardOutput=journal
|
|
StandardError=journal
|
|
RuntimeMaxSec=130min
|
|
NoNewPrivileges=true
|
|
ProtectHome=true
|