First Release
This commit is contained in:
16
custom/theia/files/theia.service
Normal file
16
custom/theia/files/theia.service
Normal file
@@ -0,0 +1,16 @@
|
||||
[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
|
||||
Reference in New Issue
Block a user