mbtiles-server
mbtiles-server copied to clipboard
How to run as a service in ubuntu
How to run as a service in ubuntu using systemctl. I created service file but starting service shows activating and then timeout occurs. What I am doing wrong?
[Unit] Description=Service tile server
[Service]
Type=notify
User=user1
ExecStart=mbtiles-server --cache /root/tileserver --verbose --port 3000
Restart=on-failure
[Install]
WantedBy=multi-user.target
Found solution used pm2 to run it as service