Skip to content

Failed to parse service type, ignoring: exec #3672

@tekumara

Description

@tekumara
$ code-server --version
3.10.2 387b12ef4ca404ffd39d84834e1f0776e9e3c005

$ sudo systemctl status code-server@ubuntu.service | cat
● code-server@ubuntu.service - code-server
   Loaded: loaded (/usr/lib/systemd/system/code-server@.service; indirect; vendor preset: enabled)
   Active: inactive (dead)

Jun 25 06:51:31 ip-10-97-36-177 systemd[1]: /usr/lib/systemd/system/code-server@.service:6: Failed to parse service type, ignoring: exec
Jun 25 06:51:41 ip-10-97-36-177 systemd[1]: /usr/lib/systemd/system/code-server@.service:6: Failed to parse service type, ignoring: exec

$ cat /usr/lib/systemd/system/code-server@.service
[Unit]
Description=code-server
After=network.target

[Service]
Type=exec
ExecStart=/usr/bin/code-server
Restart=always
User=%i

[Install]
WantedBy=default.target

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions