v1.0.2
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
<Version>1.0.0</Version>
|
||||
<Version>1.0.2</Version>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
@@ -28,6 +28,15 @@
|
||||
<None Update="epson.service">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="postinst">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="prem">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="print_server.service">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="start.sh">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
|
||||
6
EpsonPrintService/install.sh
Normal file
6
EpsonPrintService/install.sh
Normal file
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
chmod +x start.sh
|
||||
cp -rf print_server.service /etc/systemd/system/print_server.service
|
||||
systemctl daemon-reload
|
||||
systemctl enable print_server.service
|
||||
systemctl start print_server.service
|
||||
@@ -1,5 +1,5 @@
|
||||
chmod +x start.sh
|
||||
cp -rf epson.service /etc/systemd/system/epson.service
|
||||
systemctl enable epson.service
|
||||
systemctl start epson.service
|
||||
cp -rf print_server.service /etc/systemd/system/print_server.service
|
||||
systemctl enable print_server.service
|
||||
systemctl start print_server.service
|
||||
systemctl daemon-reload
|
||||
@@ -1,2 +1,2 @@
|
||||
systemctl stop epson.service
|
||||
systemctl disable epson.service
|
||||
systemctl stop print_server.service
|
||||
systemctl disable print_server.service
|
||||
12
EpsonPrintService/print_server.service
Normal file
12
EpsonPrintService/print_server.service
Normal file
@@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
Description=print_server service
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
RestartSec=1
|
||||
WorkingDirectory=/home/pi/insin/installed_packages/print_server
|
||||
Type=simple
|
||||
ExecStart=/bin/bash /home/pi/insin/installed_packages/print_server/start.sh
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
@@ -1,2 +1,2 @@
|
||||
#!/bin/bash
|
||||
/root/.dotnet/dotnet /home/oem/epson_service/EpsonPrintService.dll
|
||||
/root/.dotnet/dotnet /home/pi/insin/installed_packages/print_server/EpsonPrintService.dll
|
||||
5
EpsonPrintService/uninstall.sh
Normal file
5
EpsonPrintService/uninstall.sh
Normal file
@@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
systemctl stop print_server.service
|
||||
systemctl disable print_server.service
|
||||
rm -f /etc/systemd/system/print_server.service
|
||||
systemctl daemon-reload
|
||||
Reference in New Issue
Block a user