Skip to content

Commit ea5eb03

Browse files
authored
Merge pull request #94 from alpacax/93-support-for-selinux-and-apparmor-environments
Resolve "Support for SELinux and AppArmor environments"
2 parents 0dbe19a + 4612e29 commit ea5eb03

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.goreleaser.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ project_name: alpamon
44

55
before:
66
hooks:
7-
- go run -mod=mod entgo.io/ent/cmd/[email protected].0 generate --feature sql/modifier --target ./pkg/db/ent ./pkg/db/schema
7+
- go run -mod=mod entgo.io/ent/cmd/[email protected].2 generate --feature sql/modifier --target ./pkg/db/ent ./pkg/db/schema
88
- go mod tidy
99
- chmod +x ./scripts/install_atlas.sh
1010

configs/alpamon.service

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ After=network.target syslog.target
66
Type=simple
77
ExecStart=/usr/local/bin/alpamon
88
WorkingDirectory=/var/lib/alpamon
9+
SELinuxContext=-unconfined_u:unconfined_r:unconfined_t:s0
10+
AppArmorProfile=-unconfined
911
Restart=always
1012
StandardOutput=null
1113
StandardError=null

0 commit comments

Comments
 (0)