forked from daeuniverse/daed
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build.yml: fix upload packages to releases
chore: upgrade dae-wing (daeuniverse#41) ci: add a workflow to synchronize upstream repositories (daeuniverse#43) * ci: add a workflow to synchronize upstream dae-wing with workflow_dispatch * ci(sync): fix sync commit message * ci(sync): change name to Synchronize upstream Co-authored-by: Kevin Yu <31861128+yqlbu@users.noreply.github.com> * ci(sync): rename sync.yml to sync-upstream-source.yml * ci(sync): change name to Synchronize Upstream --------- Co-authored-by: Kevin Yu <31861128+yqlbu@users.noreply.github.com> ci(sync): input variables should be retrived from inputs ci(sync): should clone full history with fetch-depth: 0 ci(build.yml): fix upload to release
- Loading branch information
Markson
committed
Jun 17, 2023
1 parent
c18e038
commit 6b3058a
Showing
5 changed files
with
89 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/bash | ||
|
||
systemctl daemon-reload | ||
|
||
if [ "$(systemctl is-active daed)" == 'active' ]; then | ||
systemctl restart daed.service | ||
echo "Restart daed service, it might take a while." | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/bash | ||
|
||
systemctl daemon-reload |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/bash | ||
|
||
if [ "$(systemctl is-active daed)" == 'active' ]; then | ||
systemctl stop daed.service | ||
echo "stopped daed service, daed will be removed." | ||
fi |