Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to run as a service in ubuntu #41

Open
nageshkinge opened this issue Mar 2, 2023 · 1 comment
Open

How to run as a service in ubuntu #41

nageshkinge opened this issue Mar 2, 2023 · 1 comment

Comments

@nageshkinge
Copy link

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
@nageshkinge
Copy link
Author

Found solution
used pm2 to run it as service

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant