blob: ba977ede8050e4cccaa0992ccfd9bff658d1dd8b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
[Unit]
Description=An open source integration manager for matrix clients.
After=network-online.target
Requires=network-online.target
StartLimitIntervalSec=0
[Service]
Environment=NODE_ENV=production
Environment=NODE_CONFIG_DIR=/etc/dimension
Type=simple
ExecStart=/usr/bin/node /usr/share/webapps/dimension/build/app/index.js
WorkingDirectory=/var/lib/dimension
DynamicUser=true
ConfigurationDirectory=dimension
StateDirectory=dimension
Restart=on-failure
RestartSec=5s
[Install]
WantedBy=multi-user.target
|