2023-01-19 12:15:01 +05:30
|
|
|
[Unit]
|
|
|
|
Description=API for the Project Segfault Pubnix
|
|
|
|
After=networking.target
|
|
|
|
[Service]
|
|
|
|
WorkingDirectory=/var/publapi
|
|
|
|
User=publapi
|
|
|
|
Group=publapi
|
2023-02-05 19:00:47 +05:30
|
|
|
EnvironmentFile=/var/publapi/publapi.env
|
2023-01-19 12:15:01 +05:30
|
|
|
ExecStart=/var/publapi/publapi
|
|
|
|
RestartSec=5
|
|
|
|
Restart=always
|
|
|
|
KillMode=mixed
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=default.target
|