16 lines
281 B
SYSTEMD
16 lines
281 B
SYSTEMD
[Unit]
|
|
Description=Theia Ide
|
|
|
|
[Service]
|
|
Type=simple
|
|
PIDFile=/run/theia.pid
|
|
ExecStart=/usr/local/bin/yarn theia start --hostname 0.0.0.0 /home/pi/projects
|
|
User=pi
|
|
Group=pi
|
|
WorkingDirectory=/opt/theia
|
|
Restart=always
|
|
RestartSec=10
|
|
#KillMode=mixed
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target |