parent
0cff6d9112
commit
1f7f73a3e9
1 changed files with 16 additions and 0 deletions
@ -0,0 +1,16 @@ |
||||
[Unit] |
||||
Description=lamp |
||||
After=network.target |
||||
|
||||
|
||||
|
||||
[Service] |
||||
Type=simple |
||||
KillMode=mixed |
||||
User=pi |
||||
ExecStart=/home/pi/totoro_lamp/env/bin/python /home/pi/totoro_lamp/server.py |
||||
WorkingDirectory=/home/pi/totoro_lamp |
||||
Restart=on-failure |
||||
|
||||
[Install] |
||||
WantedBy=multi-user.target |
Loading…
Reference in new issue