diff options
| author | Abdellah El Morabit <nsrddyn@gmail.com> | 2024-11-26 23:49:24 +0100 |
|---|---|---|
| committer | Abdellah El Morabit <nsrddyn@gmail.com> | 2024-11-26 23:49:24 +0100 |
| commit | 4e86a2ee9f5578cbaae6cc7dd52616e3e3751764 (patch) | |
| tree | 9aef587c109accee021553e9e95f26dab11e8920 /api_server.service | |
| parent | fdc9132f0e8fc69d0f500ec07638ac595293083b (diff) | |
rearangef the file managment
Diffstat (limited to 'api_server.service')
| -rw-r--r-- | api_server.service | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/api_server.service b/api_server.service deleted file mode 100644 index b69c5e4..0000000 --- a/api_server.service +++ /dev/null | |||
| @@ -1,15 +0,0 @@ | |||
| 1 | [Unit] | ||
| 2 | Description=REST API Server for RPI | ||
| 3 | After=network.target | ||
| 4 | |||
| 5 | [Service] | ||
| 6 | ExecStart=/usr/bin/python3 /home/pi/I2C/bin/main.py | ||
| 7 | WorkingDirectory=/home/pi/I2C | ||
| 8 | User=nasr | ||
| 9 | Group=pi | ||
| 10 | Restart=always | ||
| 11 | Environment="PYTHONUNBUFFERED=1" | ||
| 12 | |||
| 13 | [Install] | ||
| 14 | WantedBy=multi-user.target | ||
| 15 | |||
