summarylogtreecommitdiffstats
path: root/miniweb.service
blob: 9f3d5e4889cc7e9edbec05dc6050c1e618d886c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[Unit]
Description=miniweb Service
After=multi-user.target

[Service]
EnvironmentFile=-/etc/default/minimega
Environment="MW_ADDR=0.0.0.0:9001"
ExecStart=/opt/minimega/bin/miniweb -root=/opt/minimega/misc/web -addr=${MW_ADDR}
WorkingDirectory=/opt/minimega
Restart=always
RestartSec=3

[Install]
WantedBy=multi-user.target