You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
456 B
22 lines
456 B
5 years ago
|
[Unit]
|
||
|
Description=Only Office metrics
|
||
|
|
||
|
[Service]
|
||
|
Type=simple
|
||
|
ExecStart=/var/www/onlyoffice/documentserver/server/Metrics/metrics ./config/config.js
|
||
|
WorkingDirectory=/var/www/onlyoffice/documentserver/server/Metrics/
|
||
|
User=ds
|
||
|
Group=ds
|
||
|
Environment=NODE_DISABLE_COLORS=1
|
||
|
Restart=always
|
||
|
PrivateTmp=yes
|
||
|
PrivateDevices=yes
|
||
|
ProtectSystem=full
|
||
|
ProtectHome=yes
|
||
|
NoNewPrivileges=yes
|
||
|
SyslogIdentifier=oods-metrics
|
||
|
MemoryLimit=50M
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|