mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-04-25 22:53:23 +02:00
22 lines
467 B
Plaintext
22 lines
467 B
Plaintext
![]() |
[Unit]
|
||
|
Description=Online collaborative Whiteboard (Instance {{ wbo_id }})
|
||
|
After=syslog.target network.target
|
||
|
|
||
|
[Service]
|
||
|
Type=simple
|
||
|
User=wbo_{{ wbo_id }}
|
||
|
Group=wbo_{{ wbo_id }}
|
||
|
Environment=PORT={{ wbo_port }}
|
||
|
Environment=NODE_ENV='production'
|
||
|
ExecStart=/bin/node {{ wbo_root_dir }}/app/server/server.js
|
||
|
PrivateTmp=yes
|
||
|
PrivateDevices=yes
|
||
|
ProtectSystem=full
|
||
|
ProtectHome=yes
|
||
|
NoNewPrivileges=yes
|
||
|
MemoryLimit=512M
|
||
|
Restart=on-failure
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|