diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 00f4f372e5..8421d81184 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -94,8 +94,7 @@ jobs: cd _output/rpmbuild/ sudo tar czvf /tmp/kepler.rpm.tar.gz RPMS/ - - if: startsWith(github.event.ref, 'refs/tags/') - name: Release + - name: release rpm uses: softprops/action-gh-release@master with: files: | diff --git a/packaging/systemd/kepler.service b/packaging/systemd/kepler.service index 003b125a13..3af8de9047 100644 --- a/packaging/systemd/kepler.service +++ b/packaging/systemd/kepler.service @@ -3,17 +3,13 @@ Description=Kepler [Service] WorkingDirectory=/usr/bin/ -EnvironmentFile=/etc/kepler/kepler.config ExecStart=kepler Restart=always User=root -Type=notify -Delegate=yes CPUAccounting=yes BlockIOAccounting=yes MemoryAccounting=yes LimitNOFILE=1048576 -TimeoutStartSec=2m [Install] WantedBy=multi-user.target \ No newline at end of file