Open CryoViking opened 1 month ago
Set them via csproj:
<Content Include="webone.service" CopyToPublishDirectory="Always" LinuxFileMode="644">
<LinuxPath>/etc/systemd/system/webone.service</LinuxPath>
</Content>
LinuxPath
is not required (it's need only to place the file somewhere outside package install directory).
that's what I did for the service files yes, this is for files inside the install directory, the actual DLL's and executable etc.
View of source "Release" folder:
View of dest "Installed package":
How can I either fix this so that the files keep the same permissions when installed, (as well as specify ownship on the target system) or run a post install script to fix permissions, etc.