Comments (8)
I saw in file install_hooks.py this line :
..
8 def get_init_scripts(config): 9 """ Add init scripts in data_files for install """ 10 data_files = config['files']['data_files'] 11 if 'win' in sys.platform: 12 pass 13 elif 'linux' in sys.platform or 'sunos5' in sys.platform: 14 data_files = data_files + "\netc/init.d = bin/init.d/*" 15 data_files = data_files + "\netc/default = bin/default/alignak.in"
okkk..
Can you add code to make it compatible with systemd ?
but what would be required more exactly actually ?
if you know it : can you make a PR ? Thanks :)
from alignak.
The bug tag is wrong. Systemd is backwards compatible with sysvinit. This is an enhancement.
We should ship one .service file for all daemons.
I can review the PR when there is one.
from alignak.
Hi,
I think add line between line 14 and 15 in file install_hooks.py :
if 'fedora' in platform.dist()[0]:
data_files = data_files + "\nsystemd/* = /usr/lib/systemd/system/*"
But my goal, is to make rpm for fedora/epel. I think we must discussing packaging on irc or devel list.
Regard
from alignak.
@hvad: I just submitted a PR for setup scripts and I was not aware of this issue ... what about this? Are you still interested in this for Fedora?
from alignak.
As explained by @hvad Alignak RPM is systemd compatible. I close this issue.
from alignak.
Well actually the RPM weekly built is not. I'll have to edit the spec. @hvad it a talking about the rpm he did on the side I think.
from alignak.
Ok, so let's keep this open ...
from alignak.
Closeing according to last packaging modifications
from alignak.
Related Issues (20)
- Worker end of action - unicode exception
- Contacts tempaltes inheritance problem
- Missing properties in service instance from the templates
- Comments for hosts/services are not dated
- Comments for host/services are sent to all schedulers by the arbiter
- Update changelog HOT 1
- Graphite prefix is not correctly managed
- Receiver log for unknown host
- Check default retention configuration
- Catch a module initialization exception
- Configuration check exception, for realms HOT 1
- Module inner metrics raised an exception HOT 1
- Exception on configuration serialization
- duplicated slash after macro expansion of the main configuration file alignak.ini HOT 1
- _events, exception: dictionary changed size during iteration
- Daemon stop mode - arbiter is logging too much
- "Clean serialization" commit makes mod_webui fail HOT 2
- sysvinit support HOT 1
- website down HOT 1
- Current state of the project? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alignak.