PureDevOps Community

Failed to enable unit: Unit file is masked

I am trying to create a linux system service for my flask application and the details are below

[Unit]
Description=Gunicorn instance to serve application
After=network.target

[Service]
User=ubuntu
Group=ubuntu
WorkingDirectory=/opt/app/
ExecStart=gunicorn --worker-class eventlet -w 2 -b 0.0.0.0:8090 main:app
ExecReload=/bin/kill -s HUP $MAINPID
KillMode=mixed
TimeoutStopSec=5
PrivateTmp=true
Restart=on-failure

[Install]
WantedBy=multi-user.target

I go this error

Failed to enable unit: Unit file /etc/systemd/system/gunicorn.service is masked.
Failed to start gunicorn.service: Unit gunicorn.service is masked.