Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Webmin and systemd
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
josedb
Apprentice
Apprentice


Joined: 03 Nov 2006
Posts: 167

PostPosted: Thu Jan 09, 2014 4:16 pm    Post subject: Webmin and systemd Reply with quote

Hello everyone, i have replaced openRC with systemd , and when i install webmin it wont list the asociated service, so i cannot start it. i ve already searched over google, and only found this problem mentione in arch forums, service is called webmin.service.

any suggest? thanks
Back to top
View user's profile Send private message
Marlo
Veteran
Veteran


Joined: 26 Jul 2003
Posts: 1140

PostPosted: Thu Jan 09, 2014 8:02 pm    Post subject: Reply with quote

Try this:

/etc/systemd/system/webmin.service wrote:

[Unit]
Description=Webmin Admin Tool
Requires=local-fs.target
After=basic.target
Before=smartd.service
DefaultDependencies=no
Conflicts=shutdown.target

[Service]
Type=oneshot
ExecStart=/usr/libexec/webmin/miniserv.pl /etc/webmin/miniserv.conf
RemainAfterExit=yes
PrivateTmp=true

[Install]
WantedBy=multi-user.target


And start it with 'systemctl start webmin.service'
_________________
Test Adobe Flash Player
The Indian Shankar Drum Ganesh Machine
Back to top
View user's profile Send private message
josedb
Apprentice
Apprentice


Joined: 03 Nov 2006
Posts: 167

PostPosted: Thu Jan 09, 2014 9:04 pm    Post subject: Reply with quote

and it works, thank you very much for this
Back to top
View user's profile Send private message
666threesixes666
Veteran
Veteran


Joined: 31 May 2011
Posts: 1223
Location: 42.68n 85.41w

PostPosted: Fri Jan 10, 2014 3:10 am    Post subject: Reply with quote

file a bug and include the service state that the service does not ship with the ebuild. last i checked systemd and openrc are officially supported init systems.
_________________
cat /etc/*-release
Funtoo Linux - baselayout 2.2.0
consider this warning no. 1
http://ecx.images-amazon.com/images/I/81Ku-vxIb3L._SL1500_.jpg
http://wiki.gentoo.org/wiki/Special:Contributions/666threesixes666
Back to top
View user's profile Send private message
josedb
Apprentice
Apprentice


Joined: 03 Nov 2006
Posts: 167

PostPosted: Fri Jan 10, 2014 4:47 pm    Post subject: Reply with quote

i'd like to colaborate with this, but i dont know where and how.
Back to top
View user's profile Send private message
666threesixes666
Veteran
Veteran


Joined: 31 May 2011
Posts: 1223
Location: 42.68n 85.41w

PostPosted: Fri Jan 10, 2014 11:24 pm    Post subject: Reply with quote

you're almost there.... bugs.gentoo.org instead of forums.gentoo.org :D you might want to look in the settings to enable email so you get notifications when people post responses.
_________________
cat /etc/*-release
Funtoo Linux - baselayout 2.2.0
consider this warning no. 1
http://ecx.images-amazon.com/images/I/81Ku-vxIb3L._SL1500_.jpg
http://wiki.gentoo.org/wiki/Special:Contributions/666threesixes666
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum